Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Curl
- curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" -d "{\"from\":{\"phoneNumber\":\"+14136790083\"},\"to\":[{\"phoneNumber\":\"+17737175653\"}],\"text\":\"test sms\"}" "https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/sms"
- Request URL
- https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/sms
- Response Body
- {
- "errorCode": "TokenInvalid",
- "message": "Authorization header is not specified",
- "errors": [
- {
- "errorCode": "OAU-123",
- "message": "Authorization header is not specified"
- }
- ]
- }
- Response Code
- 401
- Response Headers
- {
- "date": "Wed, 01 Mar 2017 12:30:12 GMT",
- "routingkey": "SJC11P01PAS02",
- "content-language": "en-US",
- "content-type": "application/json;charset=UTF-8",
- "content-length": "198"
- }
Add Comment
Please, Sign In to add comment