Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Requests Library Put Method

import requests

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