title: Pushbullet API from cURL - invalid request
body: <p>I'm working on an app using <a href="https://docs.pushbullet.com/http/" rel="nofollow noreferrer">Pushbullet's API</a>, but I'm running into odd errors when running through the sample code at <a href="https://docs.pushbullet.com/v2/pushes/" rel="nofollow noreferrer">https://docs.pushbullet.com/v2/pushes/</a>.</p>
  
  <p>I'm executing the following cURL command (in Windows):  </p>
  
  <pre><code>curl -k -u &lt;MY_API_KEY&gt;: -X POST https://api.pushbullet.com/v2/pushes --header 'Content-Type: application/json' --data-binary '{"type": "note", "title": "Note Title", "body": "Note Body"}'
  </code></pre>
  
  <p>...but it keeps generating the following error:</p>
  
  <pre><code>{"error": {"type":"invalid_request","message":"The param 'type' has an invalid value.","param":"type","cat":"\u003e:3"}}
  </code></pre>
  
  <p>It also produces this error:
  <img src="https://i.stack.imgur.com/lVUQK.png" alt="enter image description here"></p>
  
  <p>The other commands for the other endpoints in the documentation work fine...it's just this one.</p>
  
  <p>Got any suggestions? Thanks for the help! :)</p>