cURL
curl --request POST \ --url https://infopass.in/api/v1/in/info/passport \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "fileNo": "LK********7418", "dob": "21-12-1991" }'
{ "code": "0x0200", "message": "Record found successful.", "status": "SUCCESS", "data": { "fileNo": "LK20*******7418", "name": "ADITYA YADAV", "dob": "1991-12-21", "passportNumber": "Z4172306", "applicationDate": "2018-03-06" } }
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