REST:API ArchitectureREST: API stands for Representational state transfer API Rules on how an API should be Rule 1 - Uses Standard HTTP Method HTTP Methods are as follows:- GET POST PUT PATCH DELETE The above are standard verbs used to interact with restful API Ru...Nov 13, 2023·2 min read
Making Server-Side API Request with AxiosWhat we will be doing We will make our server send the get request to someone's server and get a response back from someone's server to our server. We will be using "Public API" via Axios. Axios What is Axios Axios is a promise-based HTTP Client for ...Oct 9, 2023·5 min read
How to access and use JSONWhat we are going to make We will be making a page on which we will show JSON data on that page according to user clicks. Steps NOTE:- We can access JSON data using the dot operator. Install node, express, body-parser and nodemon npm i express body...Oct 2, 2023·4 min read
API Request Structure and JSONStructure The structure is divided into 4 parts:- BaseURL Endpoints Query Parameters Path Parameter Let's try the above 4 things with an example of any public API using Postman. NOTE:- I am using App Brewery API. You can try it out on any publi...Sep 25, 2023·2 min read
HTTP Protocol and PostmanDifferent Types of API GraphQL SOAP REST API gRPC and many more We have different architectural styles for creating an API. NOTE:- In the case of Web Development, there is one type of API that rules them all - It is REST API. REST API is the mo...Sep 18, 2023·3 min read
Introduction to APIAPI:- POWERS COMMUNICATION BETWEEN SOFTWARE ON THE INTERNET API API stands for "Application Programming Interface. It is essentially a set of rules (protocols) that define how different software can interact with each other. Example Let's say you wan...Sep 11, 2023·2 min read
Passing Data and Displaying it in EJSIn this article, we will be passing the form data (HTML Form) and displaying it. Prerequisite Node.js must be installed on your local system. Steps Install Express.js and module body-parser by writing the below code in your terminal npm init --y np...Sep 4, 2023·3 min read