aries-vcr
aries-vcr copied to clipboard
OpenAPI / Swagger is returning "TypeError: Failed to Fetch" after hitting "Execute" on valid request
The following query does not work in the Swagger API.
If I try the query directly -- e.g. http://orgbook.gov.bc.ca/api/v2/search/autocomplete?q=Power%20Corp&inactive=any&latest=true&revoked=false It works fine.
If I try it in swagger:
- Use the swagger as you are, e.g.: https://orgbook.gov.bc.ca/api/v3/
- Type in your parameters and hit "Execute"
I get the error TypeError: Failed to fetch
To workaround, I can:
- Copy the URL in the "curl -X GET..." text
- Paste it into a browser address bar, hit enter and get the results.
Please fix whatever it is that is broken.