Common RESTful Operations
The following table shows the common RESTful operations for a given
resource.
Table 1 Common RESTful Operations
|
|
|
GET
|
resources
|
List all resources
|
GET
|
resources/<name>
|
Get a JSON object describing the selected resource
|
POST
|
resources
|
Create a new resource
|
PUT
|
resources/<name>
|
Modify the selected resource
|
DELETE
|
resources/<name>
|
Delete the selected resource
|
|