Set-Cookie
key in it. The Set-Cookie
key's value is a set of keys and values that contain cookie data and metadata.Set-Cookie
header in the response. Look in the request header. It doesn't say anything about cookies.curl
. This is to test our server's cookie-receiving functionality without having to use the browser environment. -v
stands for verbose. myAuthToken
and myAdsTrackingId
are fictional cookies.request.headers.cookie
attribute.cookie-parser
to parse the cookie string value in the header into a JavaScript Object. More information on cookie-parser
functionality here.request.cookies
for every cookie inside of the request. In this case, we care about the visits
cookie.