title: Why does server returns 500 response to post request
body: <p>I am trying to download file from <a href="https://steamworkshopdownloader.io/" rel="nofollow noreferrer">steamworkshopdownloader.io</a> with requests but it always returns 500 error. What am I doing wrong? I am not very familiar with requests.</p>
  <p>Code:</p>
  <pre><code>import requests
  
  def downloadMap(map_id):
      session = requests.session()
      file = session.post(&quot;https://backend-02-prd.steamworkshopdownloader.io/api/details/file&quot;, 
          data={&quot;publishedfileid&quot;: map_id})
      print(file)
  
  downloadMap(&quot;814218628&quot;)
  </code></pre>