HTTP verbs and attributes
HTTP verbs are defined by the high-level RESTful attributes. Some verbs have requirements for request or response body and others do not.
Table 1 lists the
HTTP verbs and their corresponding RESTful high-level API attributes. The Request body required
column identifies those verbs that require an input message body, and the Response body allowed
column identifies those verbs that do not allow an output message body.
HTTP Verb | REST API attribute | Request body required? | Response body allowed? |
---|---|---|---|
GET | WSGet | No | Yes |
POST | WSPost | Yes | Yes |
PUT | WSPut | Yes | Yes |
DELETE | WSDelete | No | Yes |