I have a swagger installed on IIS Windows Server 2016.
It is linked with ServiceNow. I have several paths and methods working fine except this single one.
It is using a multipart request body.
I get an error "TypeError: Failed to fetch"
I have tried the code on the swaggerHub and it worked;
I suspect something is missing on my IIS or on my swagger UI config. Do you have any clue?
- name: "Content-Type"
type : "string"
example : "rm_feature"
example : "6e1ef1f41bd9bf4421d44111cd4bcb2f"
I've heard that this error appears in SwaggerHub also. Switching to the Proxy mode helps there. Do you have anything similar in Swagger UI?
It is actually the opposite...
1. This code is working fine on swaggerHub
2. This isn't working on my server on SwaggerUI and SwaggerEditor.
Another thing, I have several paths & methods. All are working (GET, POST, PUT, DELETE with json).
Only this one with content-Type multipar/form-data doesn't work on my server.
I suspect it may has to do with some permissions (no file upload allowed).
If so I'm not sure which folder should be opened on SwaggerUI.