because the website was upgraded to https, and then found that it was impossible to request the interface of http across domains (originally possible)
the project was created with vue-cli and the axios, used for asynchronous requests sent requests to the interface at the beginning of http with the following error:
Mixed Content: The page at "https://open.test.ai/-sharp/recitationlocation" was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint "http://api.open.test.ai/readingcutupload". This request has been blocked; the content must be served over HTTPS.
it is said on the Internet that relative resource links can be used, such as / / api.open.test.ai/readingcutupload
, but an error will still be reported (because the https://api.open.test.ai/readingcutupload
interface does not exist and the interface has not been upgraded to https)
would you like to ask all of you to upgrade all the requested interfaces to https? Is there a way not to upgrade?