Skip to content

RESTful

Nir Galon edited this page May 8, 2016 · 3 revisions

This table will list all the endpoints and their available CRUD actions:

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
Clone this wiki locally