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

Vaccinator APIs returning "not allowed" error #455

Open krsharath opened 3 years ago

krsharath commented 3 years ago

This issue is for Karnataka Government Cowin APP: Vaccinator APIs are not working - we are getting 405 - Not allowed error. Details pasted below

curl --location --request POST 'https://cdn-api.co-vin.in/api/v2/vaccinator/beneficiaries/new' \ --header 'accept: application/json' \ --header 'Content-Type: application/json' \ --header 'x-api-key: \ --data-raw '{ "name": "Test Name", "birth_year": "1993", "gender_id": 1, "photo_id_type": 1, "photo_id_number": "2222", "mobile_number":"9159888210", "comorbidity_ind": "N", "consent_version": "1" }'

405 Not Allowed

405 Not Allowed


nginx