cURL
curl --request POST \ --url https://base_url/v1/in/info/passport \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "fileNo": "LK********1234", "dob": "01-01-1991" } '
{ "code": "0x0200", "message": "Record found successful.", "status": "SUCCESS", "data": { "fileNo": "LK20*******7418", "name": "MOHD. ADIL", "dob": "1920-12-12", "passportNumber": "Z0012355", "applicationDate": "2012-10-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
The body is of type object.
object
OK
The response is of type object.
Was this page helpful?