title: What does '--user' mean with curl
body: <p>I'm working with an API and I have to send a POST request. I know how to set a header (-H) and (-d) is the body, but what is "--user".</p>
  
  <p>If I submit this with Postman, or in a text editor with axios or just regular XMLRequest, where do I add this?</p>
  
  <p>The docs say it is for regular http auth.</p>
  
  <pre><code>curl -X POST -H "Content-Type: application/json" \
       --user "&lt;client_id&gt;:&lt;client_secret&gt;" \
       -d '{"grant_type": "client_credentials", "scope": "public"}' \
       ...
  </code></pre>