R
R
Roman Rakzin2020-06-07 19:33:47
Web development
Roman Rakzin, 2020-06-07 19:33:47

How to remove the error Mixed Content: The page at was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint?

On the Angular http Client, I'm trying to run a site on a server that uses the https protocol, and the api site is http. On the local computer, everything works, and after the transfer, it stopped working. Writes an error. What can be changed in this situation? Mixed Content: The page at ' https://my-site ' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ' http://url......... '. This request has been blocked; the content must be served over HTTPS.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2020-06-07
@KingstonKMS

Hang api on https

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question