What is REST API?

0 votes
When I was learning when I was connecting mongoDB with node.js, I cam across the term RestAPI. Can anyone tell me what is it and how should I use it?
Jun 13 in Others by code_ninja
• 5,960 points
13 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Well let us break the word and understand it one by one

  • API (Application Programming Interface): It is a code which is allows the communication between your applications and other applications
  • REST (Representational State Transfer): It is an API that allows you to access or manipulate the resource, using a set of predefined operations through HTTP protocol methods
  • So Finally REST API’s are the API’s used to send the request using HTTP protocol to any application/server and receive the response in form of JSON data
  • A good Example of REST API is - The World Wide Web (WWW) is an example of a distributed system that uses REST protocol architecture to provide a hypermedia driven interface for websites.
  • You use these REST API’s to fetch data from a database via your application
  • For this it uses HTTP methods like GET, PUT, POST, DELETE and more to work data present in database
  • You can even test the working of these API’s using a tool called POSTMAN

To know how to perform queries using REST API and test them using POSTMAN have a look at this link: https://youtu.be/JiBtwxCm2bo

answered Jun 13 by ArchanaNagur
• 1,870 points

Related Questions In Others

0 votes
1 answer

What is the difference between hadoop and google analytics ?

I will try and answer this as ...READ MORE

answered Aug 21, 2018 in Others by Frankie
• 9,710 points
27 views
+5 votes
6 answers

what is artificial neural network?

Machine Learning is a field of computer ...READ MORE

answered Dec 16, 2018 in Others by Raghumishra
• 240 points
148 views
0 votes
1 answer
+1 vote
1 answer

What is the difference between Dark Web and Deep Web?

The content that which you cannot find ...READ MORE

answered Feb 6 in Others by Priyaj
• 56,140 points
55 views
0 votes
1 answer

Hadoop MapReduce vs MongoDB MapReduce

Hadoop vs MongoDB MR: 1) Hadoop's MR can ...READ MORE

answered Mar 26, 2018 in Big Data Hadoop by nitinrawat895
• 9,570 points
109 views
0 votes
1 answer

How can we send data from MongoDB to Hadoop?

The MongoDB Connector for Hadoop reads data ...READ MORE

answered Mar 26, 2018 in Big Data Hadoop by nitinrawat895
• 9,570 points
43 views
+1 vote
3 answers

How can I connect an app with an aws ec2 instance?

This is how you deploy a web ...READ MORE

answered Oct 18, 2018 in DevOps & Agile by Hannah
• 14,080 points
32 views
0 votes
0 answers

How can I add a connection between Mongodb and Tableau

What I want? Parse the XML to JSON ...READ MORE

May 17, 2018 in Tableau by ghost
• 1,790 points
104 views
+1 vote
1 answer

What is Node.js? I want a clear understanding about it.

Node.js is a runtime environment which allows ...READ MORE

answered Jun 17 in Others by ArchanaNagur
• 1,870 points
11 views
0 votes
1 answer

How do I start studying Node.JS to create a restful API?

Node.js is an open source server environment ...READ MORE

answered Jun 10 in Others by ArchanaNagur
• 1,870 points
20 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.