Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Requests Library Post Method

import requests

url = 'http://httpbin.org/post'
payload = {
    'website':'softhunt.net',
    'courses':['Python','JAVA']
    }
response = requests.post(url, data=payload)
print(response.text)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Python #Requests #Library #Post #Method
ADD COMMENT
Topic
Name
2+2 =