import requests url = 'https://httpbin.org/put' payload = { 'website':'softhunt.net', 'courses':['Python','JAVA'] } response = requests.put(url, data=payload) print(response.text)