Named Endpoints API


This API example demonstrates how to define a standalone endpoint with an identifier.

API Blueprint

Quick start
Create a new task

Create a new task

Now create a task that you need to do at a later date.

REQUEST

Headers
Content-Type application/json
application/json
                        {
  "name": "Exercise in gym",
  "done": false,
  "type": "task"
}
                      
                        
                      

RESPONSE

Headers
Location /tasks/1992
Create message

Create message

Start out by creating a message for the world to see.

REQUEST

Headers
Content-Type application/json
application/json
                        {
  "message": "Hello World!"
}
                      
                        
                      

RESPONSE

Headers
Location /messages/1337