PostmanRESTClient

 

Step 1 : Create a new collection

  • Go to side bar navigation and click on Add new collection icon.
  • Give a name to the new collection
  • Click the Normal tab

 

Step 2 : Select the HTTP method

Select the method according to the authorization given.

 

Step 3: Fill all requried fields .

In the Normal tab requested details should be filled as follows.All the needed information is given on Autharization documnetation.

Request url
 API call url


Headers

Header

Value

Content-Type

application/x-www-form-urlencoded

Accept

application/x-www-form-urlencoded

Authorization

Bearer<access token>

In the Authorization header the value should contain the word Bearer should be given before typing the access token you genarated.

Example
Bearer e3345db83dbd23ernh626e1fe9cd7a

 

Step 4: Send the request

Fill the raw data field with you request details as the follwing example.

{
  "outboundSMSMessageRequest": {
    "address": [
      "tel:+94777339033"
    ],
    "senderAddress": "94770777555",
    "outboundSMSTextMessage": {
      "message": "Test Message"
    },
    "clientCorrelator": "654321",
    "receiptRequest": {
      "notifyURL": "http://128.145.147.120:1080/sms/report",
      "callbackData": "some-data-useful-to-the-requester"
    },
    "senderName": "87770"
  }
}

Click SEND button.

Last updated on 1st Nov 2016