API_Base.HttpMethod
Class
apex
global enum API_Base.HttpMethodHTTP method verbs for web service calls.
Example
apex
API_Base.HttpMethod method = API_Base.HttpMethod.POST;Inner Classes
| Class | Description |
|---|---|
| DELETION | HTTP DELETE method for removing resources (named DELETION to avoid reserved word). |
| GET | HTTP GET method for retrieving resources. |
| PATCH | HTTP PATCH method for partial updates. |
| POST | HTTP POST method for creating resources. |
| 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.