Open kprageet opened 3 years ago
When I try to run curl -X POST "https://cdn-api.co-vin.in/api/v2/auth/public/generateOTP" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"mobile\":\"9741234786\"}" I am getting Forbidden response. {"message":"Forbidden"}
Could you please share the endpoint for bearer token generation
@kprageet You need to pass User Agent
@kprageet this is undocumented at API Setu. Public APIs don't seem to work for generateOTP
. Use protected, production ones.
I am trying to use "https://cdn-api.co-vin.in/api/v2/auth/public/generateOTP", looks like it expects the bearer token. Could you please share endpoint to generate the token.