title: Double / Single Quotes in cURL Windows
body: <p>I have the following cURL request:</p>
  
  <blockquote>
    <p>curl -H 'Host: example.com' -H 'Accept-encoding: gzip, deflate' -H 'Accept: <em>/</em>' -H 'User-Agent: iPhone' -H 'Secret-Key: 04d798d5ed2e560fb596bcfc3838fec0' -H 'Date: 2017-04-23T00:57:00.05+0200' -H 'Content-type: application/json' --data-binary '{"RegDate": "2017-04-23", "Username": "JamesRicky", "Password": "0001"}' 'example.com/user'</p>
  </blockquote>
  
  <p>It works perfectly on Linux, but on Windows (using Command Prompt / Powershell), it gives me the following response:</p>
  
  <pre><code>curl: (6) Couldn't resolve host 'example.com''
  curl: (6) Couldn't resolve host 'gzip,'
  curl: (6) Couldn't resolve host 'deflate''
  curl: (6) Couldn't resolve host '*'
  curl: (6) Couldn't resolve host 'iPhone''
  curl: (6) Couldn't resolve host '04d798d5ed2e560fb596bcfc3838fec0''
  curl: (6) Couldn't resolve host '2017-04-23T00:57'
  </code></pre>
  
  <p>This is because of how Command Prompt handles Double / Single quotes. I have been trying for the past 30 minutes to try to figure out how I would format it on Windows.</p>
  
  <p>I tried the following things:</p>
  
  <p>1.</p>
  
  <blockquote>
    <p>curl -H "Host: example.com" -H "Accept-encoding: gzip, deflate" -H "Accept: /" -H "User-Agent: iPhone" -H "Secret-Key: 04d798d5ed2e560fb596bcfc3838fec0" -H "Date: 2017-04-23T00:57:00.05+0200" -H "Content-type: application/json" --data-binary ^"{^"RegDate^": ^"2017-04-23^", ^"Username^": ^"JamesRicky^", ^"Password^": "^0001^"}^" ^"example.com/user^"</p>
  </blockquote>
  
  <p>2.</p>
  
  <blockquote>
    <p>curl -H "Host: example.com" -H "Accept-encoding: gzip, deflate" -H "Accept: /" -H "User-Agent: iPhone" -H "Secret-Key: 04d798d5ed2e560fb596bcfc3838fec0" -H "Date: 2017-04-23T00:57:00.05+0200" -H "Content-type: application/json" --data-binary \"{\"RegDate\": \"2017-04-23\", \"Username\": \"JamesRicky\", \"Password\": "\0001\"}\" \"example.com/user\"</p>
  </blockquote>
  
  <p>None of the above works...</p>
  
  <p>Any ideas how to format the first cURL request so it will work on Windows?</p>