I have created API using AWS API gateway and while creating individual GET call selected "Use Lambda Proxy integration", and allow cors on that resource.
But after publishing API its works fine I am able to get a response in postman/firefox.
But when I used the same API with fetch method then in Chrome it is throwing
"Referrer-Policy: no-referrer-when-downgrade" but the same code is working fine with firefox.
sample code : const response1 = await fetch("https://33222321.execute-api.us-east-1.amazonaws.com/dev/get-activejobs") Error in console Request URL: https://33222321.execute-api.us-east-.amazonaws.com/dev/getarchivedjobs Referrer Policy: no-referrer-when-downgrade
I tried to pass some parameters in fetch combination from here https://hacks.mozilla.org/2016/03/referrer-and-cache-control-apis-for-fetch/ is there any setting I am missing?
The same API works fine if I change with Proxy integration. the expected output is the JSON response from that API.