diff --git a/README.md b/README.md index 28802ce..0872361 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,10 @@ Quick links: - [Sign the CLA to Create a Pull Request](https://github.com/sendgrid/python-http-client/blob/master/CONTRIBUTING.md#cla) - [Improvements to the Codebase](https://github.com/sendgrid/python-http-client/blob/master/CONTRIBUTING.mdimprovements_to_the_codebase) +# Troubleshooting + +Please see our [troubleshooting guide](https://github.com/sendgrid/python-http-client/blob/master/TROUBLESHOOTING.md) for any issues. + # Thanks We were inspired by the work done on [birdy](https://github.com/inueni/birdy) and [universalclient](https://github.com/dgreisen/universalclient). diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md new file mode 100644 index 0000000..b5fb689 --- /dev/null +++ b/TROUBLESHOOTING.md @@ -0,0 +1,14 @@ + +## Table of Contents +* [Viewing the Response Body](#response-body) + + +## Viewing the Response Body + +When debugging or testing, it may be useful to examine the raw request body. + +You can do this just after call `response = client.your.api._(param).call.` Where can be `get()`, `post()`, `patch()` and `post()`. + +```python +print(response.body) +```