MarvinMa
9 years agoNew Contributor
How can I setting to use HTTP but HTTPS to send my request?
When I use swaggerhub to do the API functions and test on our test server don't have HTTPS, the request can't be sent because of:
- vendor.js:3 Mixed Content: The page at 'https://swaggerhub.com/api/marvin/clownfish/1.0.0' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://test.csphp.com/api1.0/site/info'. This request has been blocked; the content must be served over HTTPS.
and the setting in YAML is useless:
- schemes:
- http
because the test server don't have HTTPS, so how I can do to solve this problem?