websave
- :
filename =websave(filename, url)¶ - :
filename =websave(filename, url, name1, value1, …)¶ - :
filename =websave(filename, url, options)¶ -
Save content from a RESTful web service to a file.
Download the resource at url and write the response body to filename. Optional query parameters may be passed as name/value pairs. A
weboptionsobject may be supplied as the final argument;HeaderFields, credentials,Timeout,UserAgentandRequestMethodare honoured. The body is written as received (not decoded as JSON or text).When the server cannot be reached the error identifier starts with
MATLAB:webservices:(matchingwebread/webwrite).