Skip to content

aksharma/mongo-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API USAGE DOCUMENT _______________ Content Type :

application/json

sample json body
 {product: {name: "Small Package",
            type: "Golf",
            length: 48,
            width: 14,
            height: 12,
            weight: 42}}

API Requests:

url: http://localhost:3000/products
method: GET
body : not needed
url: http://localhost:3000/products/:id
method: GET
body : not needed
url: http://localhost:3000/products
method: POST
body : json
url: http://localhost:3000/products/:id
method: PUT
body : json
url: http://localhost:3000/products/:id
method: DELETE
body : not needed
url: http://localhost:3000/products/search
method: GET
body : json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors