hurl/integration/tests_ok/cookie_storage.html
2022-11-11 14:25:00 +01:00

16 lines
1.3 KiB
HTML

<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment">#</span>
<span class="line"></span><span class="comment"># experimental feature</span>
<span class="line"></span><span class="comment"># manage cookie store</span>
<span class="line"></span><span class="comment">#</span>
<span class="line"></span>
<span class="line"></span><span class="comment"># @cookie_storage_set: localhost FALSE / FALSE 0 cookie1 valueA</span>
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookie-storage/assert-that-cookie1-is-valueA</span></span>
</span><span class="response"><span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
<span class="line"></span><span class="comment"># @cookie_storage_clear</span>
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookie-storage/assert-that-cookie1-is-not-in-session</span></span>
</span><span class="response"><span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
</span></span><span class="line"></span>
<span class="line"></span>
</code></pre>