curl --request GET \ --url https://infopass.in/api/v1/in/digilocker/docs/digilocker_oalmkpvwGrwZQuqcRqdt/digilocker_file_zcDnjQbrrgNipDpVeMtb \ --header 'Authorization: Basic <encoded-value>'
{ "code": "0x0200", "message": "Record found successful.", "status": "SUCCESS", "data": { "downloadUrl": "https://aadhaar-kyc-docs.s3.amazonaws.com/", "mimeType": "application/xml" } }
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