Skip to main content

Twilio / Plivo Postman Chrome Extension

I followed instructions on site http://stackoverflow.com/questions/32078510/postman-twilio-rest-api#new-answer



Couldn't get Postman to POST to Twilio . I always got error:

    {
      "code": 21603,
      "message": "A 'From' phone number is required.",
      "more_info": "https://www.twilio.com/docs/errors/21603",
      "status": 400
    }

I all had to do was change

Body > form-data
to
Body > x-www-form-urlencoded

Problem was Postman encodes + to %2B which breaks the POST



Couldn't get Postman to POST to Plivo - a similar variation on from missing.

All I had to do was changed Body from x-www-form-urlencoded

to Body > Raw > JSON (application/json)

{"src": "+17787380898","dst": "+16047202643", "text": "Hello"}


Postman - https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en

Twilio API Explorer - https://www.twilio.com/console/dev-tools/api-explorer/sms/sms-mms-create
Plivo Docs - https://www.plivo.com/docs/getting-started/send-a-single-sms/

Comments

Popular posts from this blog

How to change default calendar for new events in Lightning

https://getsatisfaction.com/mozilla_messaging/topics/how_set_default_calendar_for_new_events_in_lightning Edited version Open Tools > Options > Advanced tab, and click Config Editor button. In the "Filter:" box enter "calendar.registry"  Find a .calendar-main-default key - it will be set to true Other calendars either won't have a .calendar-main-default key (or it will be set to false) Right click on the value of the .calendar-main-default key that goes with the calendar that currently shows up by default in new events to toggle the value to false Click on the .calendar-main-in-composite key that goes with the calendar you want as default Right click on the same key and choose Copy Name from the menu that appears. Now right click on the key again and select New > Boolean Paste the name of the key and Use the backspace key to erase "in-composite" and type "default" Click OK and Choose true and click OK Now exit out of ...