curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

possible off topic -- cookies from browser devtools/network

From: bruce via curl-users <curl-users_at_lists.haxx.se>
Date: Sat, 1 Jan 2022 15:29:22 -0500

Hi.

Doing some tests, and wonder how I can invoke a testURLa nd get the
"Request" Cookies listed in the browser.

My simple use test.

1) Create a test Javascript/extension
2) Use xhr/Fetch API to generate the test url/content.
3) Check in the browser/network/headers to examine cookies.

All cookies are cleared from the browser cookie store, so the test
displays the cookie/headers from the test xhr/fetch call.

I've been looking all over for how to get the Request cookies via code
from either a test app, or from curl on the command line..

A test url would be "htps://bu.bncollege.com"

thanks for any pointers.
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-01-01