Access Token CORS Error

While connecting to get Access Token with Java Script after receiving Request token, I am facing CORS error as below:
Access to XMLHttpRequest at ‘’ from origin ‘http://localhost:4200’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Pls help me to resolve the above.

1 Like

I am also facing the same issue @PaytmMoney can you please help

It’s more of a browser limitation, doing from a server should work

Agreed. But I am trying with PayTM Money API to get Access Token “”, whenever a request is send to this URL, it’s throwing CORS error.
I request SERVER team to provide any solution.

If the server team adds CORS headers to all responses, we will be able to hit any endpoint from the browser.

CORS is not enabled for access Token.

better to use pmclient.

That also fails with cors error