Cruttelut! CRUD all the stuff

Create, Read, Update and Delete whatever you want!


Based on MongoDB, so it will get an _id

Here is what you can do

Action HTTP Payload URL Description
Create POST json /rest/<resource> Create an entity represented by the JSON payload.
Read GET - /rest/<resource> Get all entities from the resource.
Delete DELETE - /rest/<resource> Delete a resource.
Read GET - /rest/<resource>/<id> Get a single entity.
Update PUT json /rest/<resource>/<id> Update an entitiy with the JSON payload.
Delete DELETE - /rest/<resource>/<id> Delete an entity.

<resource> can be any REST resource name
<id> gets automatically generated for every entity you create