title: Curl GET request with json parameter
body: <p>I am trying to send a &quot;GET&quot; request to a remote REST API from Command Prompt via cURL like this:</p>
  <pre><code>curl -X GET \
    -H &quot;Content-type: application/json&quot; \
    -H &quot;Accept: application/json&quot; \
    &quot;http://server:5050/a/c/getName/{&quot;param0&quot;:&quot;pradeep&quot;}&quot;
  </code></pre>
  <p>But it returns no output. I tried to ping the URL directly from the browser, I am able to get response successfully, I don't understand what is the wrong with the command.</p>
  <p>Basically I want to set a &quot;GET&quot; request to a remote REST service which gives me json data as a response via curl. Can anyone guide me what mistake am I doing? I tried various posts, but all of them talk about POST requests not about GET.</p>