You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you can't find a solution below, please open an [issue](https://github.com/sendgrid/php-http-client/issues).
2
+
3
+
## Table of Contents
4
+
5
+
*[Viewing the Request Body](#request-body)
6
+
7
+
<aname="request-body"></a>
8
+
## Viewing the Request Body
9
+
10
+
When debugging or testing, it may be useful to examine the raw request body to compare against the [documented format](https://sendgrid.com/docs/API_Reference/SMTP_API/index.html).
11
+
12
+
In the `examples/example.php` file, after your API call use this code to echo out the statuscode, body and headers:
0 commit comments