While connecting to get Access Token with Java Script after receiving Request token, I am facing CORS error as below:
Access to XMLHttpRequest at ‘https://developer.paytmmoney.com/accounts/v2/gettoken’ 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.
Agreed. But I am trying with PayTM Money API to get Access Token “https://developer.paytmmoney.com/accounts/v2/gettoken”, whenever a request is send to this URL, it’s throwing CORS error.
I request SERVER team to provide any solution.