How do you Set a Cookie using HttpSettings()?


#1

I'm working on a site with an active A/B test that requires a cookie to force participation. The cookie should be ui=adaptive, and ideally should be domain-level.

I've tried using a request header of {"Cookie","ui=adaptive"}, but that doesn't work. Any ideas from the community?


#2

You can use this service https://requestb.in/ to debug http request.


#3

Know this is an old question, but just in case anyone stumbles on it (like I jut did!) the RequestBin service mentioned by Neil above is now down. You can use https://requestbin.com for debugging instead.