cowinapi / developer.cowin

This group is created to facilitate technical and integration discussions related to cowin platform. API related contents can be obtained at API setu portal https://apisetu.gov.in/public/marketplace/api/cowin
115 stars 30 forks source link

Request failed with Status code 403 #466

Open Yuvraj102 opened 3 years ago

Yuvraj102 commented 3 years ago

I was trying the auth generate OTP API , works well with my postman app (technically I use PAW which is same like Postman), But doesn't work with nodejs at all , I tried different packages too , but I get same error , 403 , I dont know what's wrong , this is the endpoint I send post request to : https://cdn-api.co-vin.in/api/v2/auth/public/generateOTP with the mobile:"xyz"

arslandixeam commented 3 years ago

can you provide me a postman request code? on my side its not even working in postman. Thanks

Yuvraj102 commented 3 years ago

can you provide me a postman request code? on my side its not even working in postman. Thanks

nah its not postman , its actually paw which is like postman

Yuvraj102 commented 3 years ago

not working on your side too, does that meant that its the problem with the server and not us , because I also got Connection issues with some other packages

big89 commented 3 years ago

Make sure that you are running this APIs through Indian IPs only. Also, passing necessary headers in request.

Check below reference - https://github.com/cowinapi/developer.cowin/issues/388#issuecomment-858771774

Thanks, Logicmaker