-
Notifications
You must be signed in to change notification settings - Fork 18
RESTful
Nir Galon edited this page May 8, 2016
·
3 revisions
HTTP Method | Resource Endpoint | Input | Success Response | Error Response | Description |
---|---|---|---|---|---|
GET | /blah |
Body: Empty | Status: 200 Body: Blah list |
Status: 500 | Retrieves all available blah |
POST | /blah |
Body: New blah data | Status: 201 Body: Newly created blah id |
Status: 500 | Create new Blah |
PUT | /blah |
N/A | N/A | Status: 400 | Forbidden action |
DELETE | /blah |
N/A | N/A | Status: 400 | Forbidden action |