Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 894 Bytes

README.md

File metadata and controls

42 lines (24 loc) · 894 Bytes

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