-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I have CORS issue in Angular 8:
Access to XMLHttpRequest at 'https://www.israelpost.co.il/npostcalc.nsf/CalcPrice?openagent&lang=HE&menuChosen=%D7%9E%D7%A9%D7%9C%D7%95%D7%97+%D7%93%D7%95%D7%90%D7%A8+%D7%91%D7%90%D7%A8%D7%A5~%D7%97%D7%91%D7%99%D7%9C%D7%94&serviceoption=%D7%9E%D7%A1%D7%A0%D7%99%D7%A3+%D7%9C%D7%A1%D7%A0%D7%99%D7%A3&qty=1&shipqty=0&weight=400&cname=' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I have tried using Angular Proxy proxy.conf.json, unsuccessfully (but I don't know if it's correct):
{ "/npostcalc.nsf/CalcPrice": { "target": "https://www.israelpost.co.il/", "secure": true, "changeOrigin": true, "logLevel": "debug" } }
Metadata
Metadata
Assignees
Labels
No labels