A practical and streamlined primer that effectively demystifies the CRUD lifecycle for beginners using accessible tools. It serves as an excellent sandbox for mastering API interaction patterns before moving on to complex production environments.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
๐ Assets Checkout System Using Postman and JSON Server ๐จโ๐ปAdded:
Hello and welcome back to my YouTube channel. Kindly like this video and subscribe my YouTube channel. So, today I am going to explain my project asset checkout system using Postman and JSON server.
So, here in VS code, we have a file name that is db.json.
Uh this file is stored all the assets records like assets ID, assets name, employee name, checkout date, return status. Now, to run this API, I use this command JSON server and file name that is db.json.
JSON. Okay. After running this command, JSON server automatically run the test rest API endpoints that is localhost:3000.
3000 that is local server and this is the endpoint.
Uh now, if I open this endpoint in browser, you can see all the assets record display in JSON format. So, this confirms that our API working properly.
Now, let me open Postman.
Uh first is get request that is used for retrieve all assets data from the server.
After sending the request, all records are returned successfully.
You can see again.
Okay. 200 okay means all are correct.
Now, let me show the validation script used in get request. Here I used pm.test uh that is pm.test status code is 200 and pm response to have a status code.
This checks whether the API response status code is correct or not. Okay. Uh the next is response time validation.
This checks whether the API response time is uh below 500 milliseconds.
Then uh I use a header validation.
This checks whether uh content type is exist or not. Okay?
Next is post request.
So, this is the post request method.
Uh and uh the response status code is 200.
You can see. Again, I sending this.
Okay? This uh We have to add the body in in body, we have to add a new data.
Okay? To create a new data, you we have to add in body. Okay? Like a raw and JSON format. Okay?
Here, this pm.status code 4201 checking for status code. And this is for expecting the um expecting the value of any assets data. Okay? Like if I want to check the data of mouse, we add like pm.expect JSON this assets name to equal mouse. Okay?
And uh Here, pm.response.json that converts API response into JSON object format.
So, that response data can be validated easily. Okay?
Next is uh put put method.
Okay?
Uh Let If If you want to use put method, you have to also add the some existing In a put method, what is put method? We have to uh update the existing data. So, we have to add some body in that and add the some like uh data also, okay?
So, you can send the request. This is working always fine, okay? And the script is 200. You can see uh script is also running fine.
Next request is delete method.
I sending this request. I'm sending this request for the delete method and it is also This is also running fine. You can see after updating that uh delete method, you can see in VS code our one like I have written here assets ID name two. It means I want to delete my second record. Okay? So, you can see in VS code the second data the second format data is uh deleted, okay?
Thank you.
Related Videos
Agentforce NOW AMA: Build with React and Salesforce Multi-Framework
SalesforceDevs
490 viewsโข2026-05-28
How agent o11y differs from traditional o11y โ Phil Hetzel, Braintrust
aiDotEngineer
450 viewsโข2026-05-28
WEB TECHNOLOGIES UNIT-2 | Degree 4th sem BCOM Computers web technologies unit-2 full explanation๐ฏโ
LearnwithSahera
1K viewsโข2026-05-29
More tests are always better? How to use AI to identify tests that bring little value
Alliance4Qualification
335 viewsโข2026-05-29
Search Algorithms Explained in 60 Seconds! ๐ค๐จ
samarthtuliofficial
218 viewsโข2026-06-01
People of Game of Thrones using JavaScript DOM
AltCampus
296 viewsโข2026-05-30
Introduction to Problem Solving Part - 1 | Lecture 1 | Intermediate DSA
ascensionix
107 viewsโข2026-05-29
So What's Odin Lang Even Good For
TechOverTea
131 viewsโข2026-06-01











