cURL
curl --request GET \ --url https://base_url/v1/in/digilocker/docs/digilocker_oalmkpvcRqdt/digilocker_pVeMtb \ --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
Was this page helpful?