title: curl: (6) Could not resolve host
body: <p>I am trying to get the Instagram api authorization token. I made commands exactly as the one indicated on <a href="https://www.instagram.com/developer/authentication/" rel="nofollow">https://www.instagram.com/developer/authentication/</a></p>
  
  <pre><code>curl -F 'client_id=CLIENT_ID' \
  -F 'client_secret=CLIENT_SECRET' \
  -F 'grant_type=authorization_code' \
  -F 'redirect_uri=AUTHORIZATION_REDIRECT_URI' \
  -F 'code=CODE' \
  https://api.instagram.com/oauth/access_token
  </code></pre>
  
  <p>However, the terminal returns with an error</p>
  
  <pre><code>    curl: (6) Could not resolve host: client_secret=CLIENT_SECRET
      curl: (6) Could not resolve host: grant_type=authorization_code-F
      curl: (6) Could not resolve host: redirect_uri=https
      curl: (6) Could not resolve host: code=CODE
  </code></pre>
  
  <p>Does anyone know why this happens? I'm using OSX</p>