Basic REST Workflow
This section describes a typical REST development workflow.
The basic workflow associated with REST services
| 1. | Identify all of the conceptual entities that you want to expose as services. |
| 2. | Create a URL to each resource. |
| 3. | Categorize your resources according to their HTTP verb (or method). HTTP verbs include: |
|
Verb |
Typical use |
|
GET |
Read operations |
|
POST |
Insert and update operations |
|
PUT |
Insert and update operations |
|
DELETE |
Delete operations |
Resources accessed using GET should return a representation of the resource, but not modify it.
| 4. | Specify the format of the response data. |