title: cURL command for HTTP GET
body: <p>I have a web service that contains a method DoWork(). This method will be used to retrieve data from a database and pass the data back to the caller in JSON format. </p>
  
  <pre><code>    [OperationContract]
      [WebInvoke(Method = "GET", UriTemplate = "doWork")]
      public Stream DoWork()
      {
          return new MemoryStream(Encoding.UTF8.GetBytes("&lt;html&gt;&lt;body&gt;WORK DONE&lt;/body&gt;&lt;/html&gt;"));
      }
  </code></pre>
  
  <p>I have composed a fiddler request just to verify my method is available. </p>
  
  <p><a href="https://i.stack.imgur.com/z0lhF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z0lhF.png" alt="enter image description here"></a></p>
  
  <p>if I execute this from fiddler, the method in my web service gets called. But I can't seem to figure out how to construct a cURL command that will do the same thing.</p>