2022-12-09 17:00:12 +03:00
|
|
|
curl --cookie 'cookie1=valueA' 'http://localhost:8000/cookies/set-request-cookie1-valueA'
|
2021-05-14 20:31:18 +03:00
|
|
|
curl 'http://localhost:8000/cookies/assert-that-cookie1-is-not-in-session'
|
2022-12-09 17:00:12 +03:00
|
|
|
curl --cookie 'user1=Bob; user2=Bill; user3=Bruce' 'http://localhost:8000/cookies/set-multiple-request-cookies'
|
2021-05-14 20:31:18 +03:00
|
|
|
curl 'http://localhost:8000/cookies/set-session-cookie2-valueA'
|
2022-12-09 17:00:12 +03:00
|
|
|
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'
|
2021-05-14 20:31:18 +03:00
|
|
|
curl 'http://localhost:8000/cookies/assert-that-cookie2-is-not-in-session'
|
|
|
|
curl 'http://localhost:8000/cookies/set'
|