-
Notifications
You must be signed in to change notification settings - Fork 498
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
Added example on how to use Cookie #124
Conversation
Very neat idea! Why not simply use http://httpbin.org/cookies though? |
The above example sends a cookie to httpbin.org. The url http://httpbin.org/cookies responds with a cookie which is a different use case |
Yes, I got that, but using /cookies instead of /get simply shows the cookie content in a human readable JSON body, much easier to check & parse than the response header in your example. My 2 cents. |
Ah, I see. |
@ozh I didn't actually know httpbin did this (never heard of it before) but I like this addition, will add it in |
Thanks! You can also pass in a (Happy to accept a follow-up PR to add that into the examples too!) |
Added example on how to use Cookie
Took me a little while to figure out how to use Cookies in the request so I though I would contribute an example