title: How to use PATCH verb with curl
body: <p>I am trying to make a PATCH call to a server. I am using the following command: </p>
  
  <pre><code>curl --data status=closed -X PATCH https://api.viafoura.com/v2/dev.viafoura.com/pages/7000000043515 
  </code></pre>
  
  <p>Is this the correct way of sending the PATCH request? I am getting an error saying there is no status parameter set. I am guessing the --data is for POST request only and thus the server doesn't find the status parameter.</p>
  
  <p>This is the response (FYI):</p>
  
  <pre><code>{"http_status":400,"error":"Parameter validation errors","validation_errors":{"status":{"error":"Request missing status parameter."}}}
  </code></pre>
  
  <p>You can find documentation about this service <a href="http://developers.viafoura.com/rest_api_v2.php#modify_a_page" rel="noreferrer">here</a>.</p>