EMS.ResourceAPI.TEndpointRequest.TMethod
Delphi
TMethod = (Get, Put, Post, Delete, Patch, Other);
C++
enum class DECLSPEC_DENUM TMethod : unsigned char { Get, Put, Post, Delete, Patch, Other };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | EMS.ResourceAPI.pas EMS.ResourceAPI.hpp |
EMS.ResourceAPI | TEndpointRequest |
Description
Method that determines the action that a request wants to perform on the target server.
Possible values are:
Value | Description |
---|---|
Get
|
To retrieve data from the specified endpoint. |
Put
|
To create a new resource in the specified endpoint. |
Post
|
To create a new resource under the specified endpoint. |
Delete
|
To delete the resource on the specified endpoint. |
Patch
|
To change some of the data of the resource in the specified endpoint. |
Other
|
Other action. |