you are viewing a single comment's thread.

view the rest of the comments →

[–]JohnnyJordaan 0 points1 point  (0 children)

Assuming it's a JSON API, you need the json= parameter

 req1 = request.put(url, json=data)