I\'m trying to make a get request but I need to put the cookie.
Using the curl works:
curl -v --cookie \"sessionid=asdasdasqqwd\"
I used the following method, in addition to rafaelcb21's answer above:
String stringifyCookies(Map cookies) =>
cookies.entries.map((e) => '${e.key}=${e.value}').join('; ');
// Used like so..
http.response response = await http.get(
'https://google.com',
headers: { 'Cookie': stringifyCookies(cookies) });