EMS.ResourceAPI.TEndpointRequest.TMethod
| [–] Properties | |
|---|---|
| Type: enum | |
| Visibility: public | |
| Source: EMS.ResourceAPI.pas EMS.ResourceAPI.hpp
| |
| Unit: EMS.ResourceAPI | |
| Parent: TEndpointRequest | |
Delphi
TMethod = (Get, Put, Post, Head, Delete, Patch, Other);
C++
enum class DECLSPEC_DENUM TMethod : unsigned char { Get, Put, Post, Head, Delete, Patch, Other };
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. |