Curl —cookie-jar $cookie

The “Insert from URL” —cookie-jar flag stores a cookie including several “header” lines in addition to the actual cookie.

Question: When I want to use the cookie, do I need to strip off these “header” lines and just grab the “name=value” cookie data?

The name=value cookie data is what the web site will be expecting to utilise.