Question

Photo of Mike Muller

0

Problem with API Calls

I'm digging into the API and when I use Swagger on our dev site, I get this error:

Undocumented

Failed to fetch.

Possible Reasons:


CORS

Network Failure

URL scheme must be "http" or "https" for CORS request.


Any ideas why this is not working. Is it a security setting that needs to be changed?

  • Photo of Luke Taylor

    0

    Is your dev site set up to use HTTPS and does it have a valid certificate?

  • Photo of Mike Muller

    0

    Yes it is. There is a self signed cert and we also have the Acme certificate plugin running.