Skip to main content

rest.patch

rest.patch(url, body)

Description

Issues an HTTP PATCH with the body.

Parameters

ParameterTypeExplanation
urlStringThe url to patch data to
bodyStringThe data to patch

Example

http = option.rest

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