Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Twilio Best Practices
  • Toc
  • feedback
Twilio Best Practices

Twilio Best Practices

By : Rogers
4.5 (4)
close
Twilio Best Practices

Twilio Best Practices

4.5 (4)
By: Rogers

Overview of this book

If you have experience with at least one programming language and are looking to integrate Twilio into your applications, then this book is for you.
Table of Contents (10 chapters)
close
9
Index

Interacting with the API


Twilio's REST APIs are accessed over HTTP, that is to say, you make an HTTP request with the appropriate method, which is either GET, POST, PUT, or DELETE, and Twilio responds with data that represents the object you've created, read, updated, or deleted.

Fortunately, Twilio make our lives easier by providing API libraries in a range of languages. These are wrappers around the raw HTTP requests that Twilio understands, letting us interact with the API in a way that fits with the language we're working in.

At the time of writing, first-party API libraries (that is, libraries built by Twilio) are available in PHP, Ruby, Java, C#, Python, Node.js, and Apex (Salesforce's proprietary language). We'll want to use these when working with Twilio in our applications for the sake of simplicity and testability.

When getting started, it can be helpful to get a feel for working with the API by building the actual HTTP requests ourselves. There are a range of great tools for doing...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete