/NodeJSAPI

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

Primary LanguageJavaScript

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