Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Twilio Best Practices

You're reading from   Twilio Best Practices Learn how to build powerful real-time voice and SMS applications with Twilio

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781782175896
Length 178 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (10) Chapters Close

Using the Request Inspector


Alongside our errors in the App Monitor, there is a Request Inspector that let us see the requests that triggered the recorded error.

This Request Inspector is also used elsewhere: for instance, when we view the logs for a particular call or SMS from the Logs page in the navigation bar, we'll also have access to this powerful tool.

The Request Inspector is a relatively new and late addition to Twilio, but is one that makes debugging our applications so much easier by letting us not only view all of the details of requests Twilio made to our application, but also letting us retry them in one click.

Note

All of the data in the Request Inspector is also accessible via the Notifications API; refer to Twilio's documentation at https://www.twilio.com/docs/api/rest/notification for details.

At first, Twilio shows you the HTTP method used for the request, the URL that was requested, the time of the request, and the HTTP status that came back:

However, we can expand this to...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime