Error in authorized API from localhost

Getting bellow error on authorized api mehtod. I using api locally as in development phase. Please suggest solution

https://api.upstox.com/v2/login/authorization/dialog?response_type=code&client_id=myclientID&redirect_uri=http://localhost:8100

from origin ‘http://localhost:8100’ 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.

@tech_binomial,

We appreciate your message.

It appears that the error originates from your system. To eliminate any uncertainties, could you please provide the cURL object used for the API call?

Thank you!

Hi please find below the url

https://api.upstox.com/v2/login/authorization/dialog?response_type=code&client_id=myclientid&redirect_uri=http://localhost:8100

@tech_binomial

If this is still causing trouble, please share the cURL object for the Authorize API call made.

Thanks!