I am trying to use the web api’s HttpClient
to do a post to an endpoint that requires login in the form of an HTTP cookie that identifies an account (this is only something that is #ifdef
‘ed out of the release version).
How do I add a cookie to the HttpRequestMessage
?