0% found this document useful (0 votes)
72 views3 pages

Injecting JWT Session Token Into API Calls Using Postman

This document discusses how to make API calls using Postman to perform operations like login, create a product, create a purchase order, and delete a product or order. It provides the endpoints, HTTP methods, and form data parameters needed to complete an end-to-end workflow of logging in, creating a product, purchasing that product, and then deleting the order and product.

Uploaded by

Chetan Kataria
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views3 pages

Injecting JWT Session Token Into API Calls Using Postman

This document discusses how to make API calls using Postman to perform operations like login, create a product, create a purchase order, and delete a product or order. It provides the endpoints, HTTP methods, and form data parameters needed to complete an end-to-end workflow of logging in, creating a product, purchasing that product, and then deleting the order and product.

Uploaded by

Chetan Kataria
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

 Injecting JWT Session token into API Calls

using Postman
 How to work with POST Call form-data
 How to Send Attachments through request
using Postman
 Unauthorized 403 API Example with
Postman

Website -
https://rahulshettyacademy.com/client/auth/
login
ID – chetankataria03@gmail.com
Password – Kattu@100

End to End Flow


Login API -> Create Product -> Purchase Order
on created Product -> Delete order -> Delete
Product
Create Product Contract –

End point –

https://rahulshettyacademy.com/api/ecom/
product/add-product

Http Method - POST


Form Data -

productName:qwerty
productAddedBy:{{userId}}
productCategory:fashion
productSubCategory:shirts
productPrice:11500
productDescription:Addias Originals
productFor:women
Delete Product :

https://rahulshettyacademy.com/api/ecom/
product/delete-product/{{productId}}

Http Method DELETE

You might also like