Rest API

Created by NIKET AGARWAL, Modified on Thu, 9 Feb, 2023 at 10:49 PM by NIKET AGARWAL

A REST API (also known as RESTful API) is an application programming interface (API or web API) that conforms to the constraints of REST architectural style and allows for interaction with RESTful web services. REST stands for Representational State Transfer.

An API is a set of definitions and protocols for building and integrating application software. It’s sometimes referred to as a contract between an information provider and an information user—establishing the content required from the consumer (the call) and the content required by the producer (the response).

REST is a set of architectural constraints, not a protocol or a standard. API developers can implement REST in a variety of ways.

When a client request is made via a RESTful API, it transfers a representation of the state of the resource to the requester or endpoint. This information, or representation, is delivered in one of several formats via HTTP: JSON (Java Script Object Notation), HTML, XLT, Python, PHP, or plain text. JSON is the most generally popular file format to use because, despite its name, it’s language-agnostic, as well as readable by both humans and machines.

 
1) Navigate to Extensions > Feeds > Rest API and then click on the edit icon.





2) After clicking on the edit icon, enter the relevant details

(i) Store: Default store is selected
(ii) Status: Set it to enabled
(iii) Secret Key: Enter the secret key

Save the changes by clicking on the save icon in the top right corner.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article