HTTP Request - Method Property

Standard HTTP request methods such as GET, POST etc.

Member of HTTP Request (PRIM_WEB.HttpRequest)

Data Type - Enumeration


The Method property is the type of request being made.
The default is GET.

Allowed Values

Enum ValueDescription
CONNECTConverts the request connection to a transparent TCP/IP tunnel, usually to facilitate SSL-encrypted communication (HTTPS) through an unencrypted HTTP proxy
DELETEDeletes the specified resource
GETRequests a representation of the specified resource. Requests using GET should only retrieve data and should have no other effect
HEADAsks for the response identical to the one that would correspond to a GET request, but without the response body.
OPTIONSReturns the HTTP methods that the server supports for the specified URL. This can be used to check the functionality of a web server by requesting '*' instead of a specific resource
PATCHApplies partial modifications to a resource
POSTRequests that the server accept the entity enclosed in the request as a new subordinate of the web resource identified by the URI
PUTRequests that the enclosed entity be stored under the supplied URI. If the URI refers to an already existing resource, it is modified; if the URI does not point to an existing resource, then the server can create the resource with that URI
TRACEEchoes back the received request so that a client can see what (if any) changes or additions have been made by intermediate servers


See also

All Component Classes

Technical Reference

Febuary 18 V14SP2