Posts

REST API testing using Basic Authentication in Postman

Image
Basic Authentication in Postman We need  Authorization  for accessing secured servers.  Authorization  is the most important part while working with secured servers, which is most likely to happen. We will learn about ·          What is Authorization? ·          Authorization vs Authentication ·          Need for Authorization ·          Basic Authentication in Postman What is Authorization? The meaning of authorization be a question which is,  are we eligible to access a secured resource on the Server?  If the answer is yes, then in technical terms we can say that we are  Authorized  to access the resource. If the answer is No, we can say that we are not  Authorized  to access the resource.  For example, let us say you have added your...

Steps to Create JSON Server On the Fly and REST API Testing using Postman QA Tool

Image
Steps to Create JSON Server On the Fly and API Testing using Postman QA Tool ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1) Create New Folder with any name, for e.g: JSONServerDemo 2) Open the JSONServerDemo folder in VS code Or Open with cmd prompt , move your cursor to the current directory 3) Install JSON Server             npm install -g json-server 4) Start JSON Server with below cmd, This will create automatically db.json file with built in Posts, comments, profile json data             json-server --watch db.json 5) Go db.json file and add below Employee JSON array "employees": [             {   "id": 1,    ...