hurl/integration/ssl/cacert.html

9 lines
678 B
HTML

<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment"># Access an SSL endpoint with a custom CA</span>
<span class="line"></span><span class="comment"># Remark: The option --ssl-no-revoke must be set for windows</span>
<span class="line"><span class="method">GET</span> <span class="url">https://localhost:8002/hello</span></span>
</span><span class="response"><span class="line"></span>
<span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
<span class="line"><span class="string">`Hello World!`</span></span>
</span></span><span class="line"></span>
</code></pre>