API_Base.HttpMethod
Class
apex
global enum API_Base.HttpMethodHTTP method verbs for web service calls.
Since: 1.0
Example:
apex
API_Base.HttpMethod method = API_Base.HttpMethod.POST;Values
| Value | Description |
|---|---|
| global DELETION | HTTP DELETE method for removing resources (named DELETION to avoid reserved word). |
| global GET | HTTP GET method for retrieving resources. |
| global PATCH | HTTP PATCH method for partial updates. |
| global POST | HTTP POST method for creating resources. |
| global PUT | HTTP PUT method for updating resources. |
Value Details
DELETION
apex
global DELETIONHTTP DELETE method for removing resources (named DELETION to avoid reserved word).
GET
apex
global GETHTTP GET method for retrieving resources.
PATCH
apex
global PATCHHTTP PATCH method for partial updates.
POST
apex
global POSTHTTP POST method for creating resources.
PUT
apex
global PUTHTTP PUT method for updating resources.