Skip to content

chaitanyasairam-d/NodeJSAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJSAPI

this is the basic API calls in NodeJS with Mongoose/ (MongoDB)

Link for API Calls:

URL: http://node-api-calls.herokuapp.com/api/users

Model used in this API Call:

{
Name: String,
Phone: Number,
Email: String,
Address: {
   Street: String,
   Area: String,
  City: String,
   Pincode: Number
 }
}

GET REQUEST:

http://node-api-calls.herokuapp.com/api/users Getting all Users

POST REQUEST:

http://node-api-calls.herokuapp.com/api/users Passing the data in the form of json

PUT REQUEST:

http://node-api-calls.herokuapp.com/api/users Passing the data in the form of json

DELETE REQUEST:

http://node-api-calls.herokuapp.com/api/users Passing the data in the form of json