cURL
curl --request POST \ --url https://infopass.in/api/v1/in/plan/fetch/operator \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "mobile": "965*****986" }'
{ "code": "0x0200", "message": "Record found successful.", "status": "SUCCESS", "data": { "mobile": "9651*****6", "operator": "VODAFONE", "opCode": "23", "circle": "UP East", "circleCode": "54", "isPostpaid": true } }
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