hurl/integration/tests_ok/cookies.curl

10 lines
748 B
Plaintext

curl --cookie 'cookie1=valueA' 'http://localhost:8000/cookies/set-request-cookie1-valueA'
curl 'http://localhost:8000/cookies/assert-that-cookie1-is-not-in-session'
curl --cookie 'user1=Bob; user2=Bill; user3=Bruce' 'http://localhost:8000/cookies/set-multiple-request-cookies'
curl 'http://localhost:8000/cookies/set-session-cookie2-valueA'
curl --cookie 'cookie2=valueA' 'http://localhost:8000/cookies/assert-that-cookie2-is-valueA'
curl --cookie 'cookie2=valueB; cookie2=valueA' 'http://localhost:8000/cookies/assert-that-cookie2-is-valueA-and-valueB'
curl --cookie 'cookie2=valueA' 'http://localhost:8000/cookies/delete-cookie2'
curl 'http://localhost:8000/cookies/assert-that-cookie2-is-not-in-session'
curl 'http://localhost:8000/cookies/set'