In my Django app I need to send an HTTP PUT request to a url.
What is the proper syntax for that?
Found the answer:
req = urllib2.Request(url=your_url, data=your_data)
req.get_method = lambda: 'PUT'
How to send an HTTP PUT request using urllib2 or requests