HTTP Request - Method Property

Standard HTTP request methods such as GET, POST etc.

Member of HTTP Request (PRIM_WEB.HttpRequest)

Data Type - Enumeration

Details

The Method property is the type of request being made.

The default is GET.

Allowed Values

Enum Value

Description

CONNECT

Converts the request connection to a transparent TCP/IP tunnel, usually to facilitate SSL-encrypted communication (HTTPS) through an unencrypted HTTP proxy

DELETE

Deletes the specified resource

GET

Requests a representation of the specified resource. Requests using GET should only retrieve data and should have no other effect

HEAD

Asks for the response identical to the one that would correspond to a GET request, but without the response body.

OPTIONS

Returns 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

PATCH

Applies partial modifications to a resource

POST

Requests that the server accept the entity enclosed in the request as a new subordinate of the web resource identified by the URI

PUT

Requests 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

TRACE

Echoes 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

  • No labels