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

Can't get a response using Set-Cookie header ? #699

Open
wise-dachshund opened this issue Mar 31, 2023 · 1 comment
Open

Can't get a response using Set-Cookie header ? #699

wise-dachshund opened this issue Mar 31, 2023 · 1 comment

Comments

@wise-dachshund
Copy link

Hi guys,

I need a response using the Set-Cookie header but so far I've only been able to get responses where the cookie is set in the response body. Any tips ?

@milahu
Copy link

milahu commented Dec 28, 2023

so far I've only been able to get responses where the cookie is set in the response body

what?

$ curl -v "http://httpbin.org/cookies/set?a=1&b=2" --cookie a=1 2>&1 | grep Cookie
> Cookie: a=1
< Set-Cookie: a=1; Path=/
< Set-Cookie: b=2; Path=/

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