Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you format a response? #13

Open
jmkwok opened this issue Nov 6, 2013 · 1 comment
Open

How do you format a response? #13

jmkwok opened this issue Nov 6, 2013 · 1 comment

Comments

@jmkwok
Copy link

jmkwok commented Nov 6, 2013

How do you format the body or raw_body of a response?

@subnetmarco
Copy link
Member

The raw_body property always contains the unparsed response data, while the body property contains the parsed response (a dictionary or an array, if the response it's a JSON object or JSON array, otherwise a string). I'm not sure what you're trying to do, can you please provide an example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants