matlab.net.http.RequestMethod - HTTP request method - MATLAB (original) (raw)
Main Content
Namespace: matlab.net.http
Description
The RequestMethod
enumeration class provides identifiers for request methods. Use these values for the Method
property in a request message. The methods supported are those listed in the IANA Hypertext Transfer Protocol (HTTP) Method Registry as of April 14, 2017.
To see a list of all the RequestMethod
members, type:
enumeration matlab.net.http.RequestMethod
Examples
Display Method for Default Request Message
r = matlab.net.http.RequestMessage; uri = 'https://www.mathworks.com'; r = complete(r,uri); reqmethod = r.Method
reqmethod = RequestMethod enumeration
GET
Version History
Introduced in R2016b