
Hello All,
I want to validate email id on registration page using api which is hosted on site without https. I m getting below error.
Any solution to this ?
I tried adding CORS related settings in site settings.
Mixed Content: The page at 'https://trial22jportal.powerappsportals.com/Account/Login/Register?returnUrl=%2F' was loaded over HTTPS, but requested an insecure script 'http://nonsecure.api.net/test?email=xyz@fakeemail.com. This request has been blocked; the content must be served over HTTPS.
Hi
I imagine that you are just testing your API, but you totally shouldn't have an API running on HTTP
specially if passing personal e-mail via query string
if you are hosting that locally you can even use a self-signed certificate for testing purposes
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.