How to test get request on flask server using curl?
<p>I'm building a flask server that connects to a database, and I want to test if the GET requests work. However, I don't know how to send request data using curl. </p>

<p>When I enter</p>

<pre><code>curl http://127.0.0.1:5000
</code></pre>

<p>I get back the data I need, but <code>'/'</code> doesn't require any request data. 
But how do I use curl to send request data? Specifically, 2 strings.</p>

<p>For instance, </p>

<p>How could I test something like this with curl?</p>

<p><a href="https://i.stack.imgur.com/gKgfo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gKgfo.png" alt="example"></a></p>