Example of HTTP body for URL Encoded HTTP Request from Twilio Studio

Viewed 43

I am trying to POST with URL encoded data. Based on the web server logs, I am not actually sending any data from Twilio (request size is always 131 bytes, no matter what I type in the Studio widget box).

What does a working form body look like? Do I need to encode it myself? How do I escape an "=" that is not part of the key-value structure?

enter image description here

1 Answers

When making an HTTP request with the widget, when it is set to make Form URL encoded requests you can set the HTTP parameter keys and values which will automatically encode the values. There are known as URL parameter as the encoding is Form URL encoding. The parameters are encoded as if they were in a URL, but they are sent as the POST body.

Related