Add note about JSON output body type #742

Merged
merged 1 commit into from Dec 23, 2013

Projects

None yet

3 participants

@iansltx
Contributor
iansltx commented Dec 23, 2013

When PUTing/POSTing JSON using the json option, you might overlook the fact that Request will automatically parse the response as JSON before handing it back to the callback, thus causing confusion and heartbreak. Probably best to mention this behavior in all applicable places.

@mikeal mikeal merged commit d98c94d into request:master Dec 23, 2013

1 check passed

default The Travis CI build passed
Details
@cerebrl
cerebrl commented Dec 23, 2013

Thanks @mikeal and @iansltx! Hopefully this will save someone from the frustration I had O_o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment