Skip to main content

rest.post

rest.post(url, body)

Description

Issues an HTTP POST request and returns the output

Parameters

ParameterTypeExplanation
urlStringThe url to post data to
bodyStringThe data to post

Example

http = option.rest

http.post(url, message.toJson())