Skip to main content

rest.put

rest.put(url, body)

Description

Issues an HTTP PUT with the body.

Parameters

ParameterTypeExplanation
urlStringThe url to put data to
bodyStringThe data to put

Example

http = option.rest

res = http.put("https://postman-echo.com/put", message.toJson())
api.wto(res)