I am making a RestApi call from localhost and i got the below error
XMLHttpRequest cannot load https://api-address/v1/registeruser.
No 'Access-Control-Allow-Origin' header is present on the
requested resource.Origin 'http://127.0.0.1:8887' is therefore not allowed access.
The response had HTTP status code 502.
then i tried fixing this and added CORS extention to chrome which i got from SO. after adding the extention I again got the below error
POST https://api-address/v1/registeruser 502 (Proxy Error)
how to fix this issue?