I'm using Playwright to access my website, and would like to make all requests http instead of http, as I have A reverse proxy inside my pod which translates the hostname to localhost.
When trying to fetch my api in headless browser I'm getting this error:
Mixed Content: The page at 'https://api.myapi.dev/' was loaded over HTTPS, but requested an insecure resource 'http://api.myapi.dev/?email=test_user@company'. This request has been blocked; the content must be served over HTTPS
How to solve this? I must use http