francislargo
Enthusiast
- Joined
- Jan 22, 2020
- Posts
- 6
- Reaction
- 0
- Points
- 63
Pwede po paconvert ng code na ito to JSON request body.
curl -d '{
"recipientPhone": {
"countryCode": "HT",
"number": "50936377111"
},
"senderPhone": {
"countryCode": "US",
"number": "13059547862"
},
"operatorId": 173,
"amount": 15,
"customIdentifier": "transaction by john@example.com"
}'
Example code po iyan ng isang company. Pero pag irun ko na bad request (invalid format daw).
curl -d '{
"recipientPhone": {
"countryCode": "HT",
"number": "50936377111"
},
"senderPhone": {
"countryCode": "US",
"number": "13059547862"
},
"operatorId": 173,
"amount": 15,
"customIdentifier": "transaction by john@example.com"
}'
Example code po iyan ng isang company. Pero pag irun ko na bad request (invalid format daw).