title: Curl issues with API call - could not resolve host
body: <p>There's a few threads on this topic, but they haven't helped sadly. I'm using Curl, and a sample API call from: algorithmia - developers/getting-started/</p>
  
  <p>Using the sample code provided I post this in Curl: 
  curl -X POST -d '"MY_USERNAME"' -H 'Content-Type: application/json' -H 'Authorization: Simple MYKEY_SECRET' <a href="https://api.algorithmia.com/v1/algo/demo/Hello/0.1.1" rel="nofollow noreferrer">https://api.algorithmia.com/v1/algo/demo/Hello/0.1.1</a></p>
  
  <p>I get this response:</p>
  
  <p>curl: (6) Could not resolve host: application
  curl: (6) Could not resolve host: Simple
  curl: (6) Could not resolve host: simNBQHl
  {"error":{"message":"authorization required"}}</p>
  
  <p>I've tried various edits (including double brackets, removing spacing at certain points) - this doesn't work, and at times gets an invalid json used response. Any insight into what obvious thing I may be missing?</p>
  
  <p>I'm using Windows Command Prompt and pasting the text in after copying it from the website in case that may be a cause - although I've also tried pasting the code into notepad and then copying from there with no joy.</p>
  
  <p>Thanks!</p>