Skip to content

webwrite

web · scripts/web/webwrite.m

: response = webwrite (url, data)
: response = webwrite (url, name, value, …)
: response = webwrite (…, options)

Send data to the web service at url and return its reply.

data is a character vector sent as the request body, or a structure whose fields are sent as form fields (or as JSON when the MediaType option is "application/json"). Alternatively the form fields are given as name/value pairs. The request uses POST unless the RequestMethod option selects PUT, DELETE or PATCH.