postmanlabs/httpbin

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

wise-dachshund opened this issue · 1 comments

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 ?

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=/