cURL
curl --request POST \ --url https://infopass.in/api/v1/in/identity/aadhaar/basic \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "aadhaarNumber": "597480250748" }'
{ "code": "0x0200", "message": "Record found successful.", "status": "SUCCESS", "data": { "verified": true, "aadhaarNumber": "597480250748" } }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
OK
The response is of type object.
object