title: Calling REST API with an API key using the requests package in Python
body: <p>What should the python code to call the REST API below using the requests package? I do not know how to pass the "apikey" </p>
  
  <pre><code>curl -X POST -u "apikey":"1234abcd" -H "Accept: application/json" -F "file=@{input_file}" https://api_url
  </code></pre>
  
  <p>Thank you for your help.</p>