You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cookies defined the request Cookies section should just add cookies in the request but should not change cookie storage.
This is consistent with curl.
For example: Send cookie1 in the request and cookie2 set from server endpoind
$ curl \
--cookie cookie1=value1 \
--cookie-jar /tmp/cookies \
http://httpbin.org/cookies/set/name2/value2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>
<h1>Redirecting...</h1>
<p>You should be redirected automatically to target URL: <a href="/cookies">/cookies</a>. ..
$ cat /tmp/cookies
# Netscape HTTP Cookie File
# https://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
httpbin.org FALSE / FALSE 0 name2 value2
with the current hurl
$ cat <<END | hurl --cookie-jar /tmp/cookies
GET http://httpbin.org/cookies/set/cookie2/value2
[Cookies]
cookie1: value1
END
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>
<h1>Redirecting...</h1>
<p>You should be redirected automatically to target URL: <a href="/cookies">/cookies</a>...
$ cat /tmp/cookies
# Netscape HTTP Cookie File
# This file was generated by hurl
httpbin.org FALSE / FALSE 0 cookie1 value1
httpbin.org FALSE / FALSE 0 cookie2 value2
The text was updated successfully, but these errors were encountered:
fabricereix
changed the title
Request Cookies Section
Request Cookies Section should not change cookie store
Sep 21, 2020
Cookies defined the request Cookies section should just add cookies in the request but should not change cookie storage.
This is consistent with curl.
For example: Send cookie1 in the request and cookie2 set from server endpoind
with the current hurl
The text was updated successfully, but these errors were encountered: