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.
shanmu
March 11, 2024, 5:19am
2
@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!
shanmu
March 20, 2024, 10:01am
4
@tech_binomial
If this is still causing trouble, please share the cURL object for the Authorize API call made.
Thanks!