http

http.http.put

Declaration
lua
http.put(url [, timeout, headers, data])
Description
HTTP PUT request.
Parameters
Same as http.post
Return Values
Same as http.post
Example
lua
http.put{url="https://api.com/item/1", json={name="updated"}}