Last updated
Last updated
Simple GET
Pass parameter through route
Post data must be JSON format
The below example is when user post to /api
route, it will return posted data.
Note: Post doesn't accept route parameter like "/api/:id"
The post data send via PUT method must includes _id as object property & value
The post data send via DELETE method must includes id as route parameter (e.g /posts/C3BF55677CA8225208BD9B6D77895126)