Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Requests Library Patch Method

import requests

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