Skip to content

Commit 7a291dc

Browse files
Merge pull request #23 from colto/chore/troubleshooting
Add TROUBLESHOOTING.md
2 parents 86a3541 + 99848bb commit 7a291dc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

TROUBLESHOOTING.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
If you have a non-library SendGrid issue, please contact our [support team](https://support.sendgrid.com).
2+
3+
If you can't find a solution below, please open an [issue](https://github.com/sendgrid/ruby-http-client/issues).
4+
5+
## Table of Contents
6+
* [Viewing the Request Body](#request-body)
7+
8+
<a name="request-body"></a>
9+
## Viewing the Request Body
10+
11+
When debugging or testing, it may be useful to exampine the raw request body to compare against the [documented format](https://sendgrid.com/docs/API_Reference/api_v3.html).
12+
13+
You can do this right before you call: `response = client.version('v3').api_keys.post(request_body: request_body)` like so:
14+
15+
```ruby
16+
puts request_body
17+
```

0 commit comments

Comments
 (0)