This demo assumes that you have some familiraty with
- JavaScript
- Postman UI
- API action Verbs
- JSON objects
API Verbs:
Action | Quick Definition |
---|---|
POST | To create a new entry of data |
PUT | Updates exsting data |
GET | Retrieves data |
DELETE | Delete's data |
Using from following Fake online REST API for building collections, prototyping and testing
I will be using Postman on desktop version with Visual Code IDE to develope, however, you may use any IDE that supports JavaScript or you are familiar with Install node.js
- https://nodejs.org/en/download/ based on your work station Installing Newmam
- For local use within the project use: npm i newman
- For global use use: npm i newman -g
Packages | Local | Global |
---|---|---|
Lodash | npm i lodash |
npm i lodash -g |
Newman | npm i newman |
npm i newman -g |
Newman Html Report (Optional) | npm install newman-reporter-html |
npm install -g newman-reporter-html |
Html Extra | npm install newman-reporter-htmlextra |
npm install -g newman-reporter-htmlextra |
Postman | npm i postman |
npm i -g postman |