title: Python requests post api errors
body: <p>I need add friend on faceit by api. There my code</p>
  <pre><code>facapi = 'Bearer xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
  targetid = '54372d6d-134f-4a0d-90c1-babccfaf9e08'
  headers = {&quot;Authorization&quot;:facapi,&quot;users&quot;:[targetid]}
  payload={&quot;users&quot;:targetid,&quot;conversionPoint&quot;:&quot;profile&quot;}
  url = f'https://api.faceit.com/friend-requests/v1/users/{myfaceitid}/requests'
  print(requests.post(url, headers=headers ).text)
  </code></pre>
  <p>When i send post request i get that</p>
  <pre><code>requests.exceptions.InvalidHeader: Header part ([targetid]) from {'users': [targetid]} must be of type str or bytes, not &lt;class 'list'&gt;
  </code></pre>
  <p>Im changed [targetid] to targetid and got another error</p>
  <pre><code>{&quot;errors&quot;:[{&quot;code&quot;:&quot;err_br0&quot;,&quot;message&quot;:&quot;'users' field must contain user ids&quot;}]}
  </code></pre>
  <p>The joke is that the first request contains a list of user ids and the request requires a string type or byte, and the second request already contains just a string with userid and the error requires this uid
  Also tried to add payload, but in that case i got another error</p>
  <pre><code>{&quot;errors&quot;:[{&quot;code&quot;:&quot;err_br0&quot;,&quot;message&quot;:&quot;invalid character 'u' looking for beginning of value&quot;}]}
  &lt;bound method Response.json of &lt;Response [400]&gt;&gt;
  </code></pre>
  <p>My payload is silimar to faceit payload</p>
  <pre><code>payload={&quot;users&quot;:'7efe7dc4-23cc-43c0-b0ac-25fe3385ef71',&quot;conversionPoint&quot;:&quot;matchroom&quot;}
  </code></pre>
  <p>idk how to fix that. It feels broken</p>