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