cURL
curl --request POST \ --url http://base_url/v1/service/recharge/complaint \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "mobile": "9876543210", "clientRefId": "2345653347438", "remark": "recharge not received" } '
{ "code": "0x0200", "status": "SUCCESS", "message": "Complaint Raised Successfully", "data": { "complaintId": "10878", "message": "Request is processed!" } }
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
Show child attributes
Was this page helpful?