GetAutomator: Getting Started with Postman

Automatically generated postman collection based on your database.

Watch the guide

33 steps

6 months ago

1
Generated Project Folder
Generated Project Folder
2
Inside API Folder
Inside API Folder
3
You can find POSTMAN_IMPORT_FILE
You can find POSTMAN_IMPORT_FILE
4
Automatically generated Postman Collection and Environment Variable file based on your database.
Automatically generated Postman Collection and Environment Variable file based on your database.
5
Open Postman app
Open Postman app
6
Click on Import button
Click on Import button
7
Click on Files link
Click on Files link
8
Go to required folder where POSTMAN_IMPORT_FILE is there
Go to required folder where POSTMAN_IMPORT_FILE is there
9
Import both the file
Import both the file
10
After selecting both the file click open
After selecting both the file click open
11
12
One should receive this dialog with the Collection and Environment.
One should receive this dialog with the Collection and Environment.
13
Click Import
Click Import
14
In Collection Tab
In Collection Tab
15
You should have your collection imported.
You should have your collection imported.
16
In Environment Tab
In Environment Tab
17
You should have your environment variables imported.
You should have your environment variables imported.
18
You hosted API URL
You hosted API URL
19
Token Variable (will automatically set when token is generated)
Token Variable (will automatically set when token is generated)
20
Lets update this value to your hosted api url
Lets update this value to your hosted api url
21
I have this test API hosted in XAMP Server locally and inside phpapi folder. Copy this url
I have this test API hosted in XAMP Server locally and inside phpapi folder. Copy this url
22
Updated with http://localhost:82/phpapi (note the trailing / at the end)
Updated with http://localhost:82/phpapi (note the trailing / at the end)
23
Click Save
Click Save
24
In Collection Tab
In Collection Tab
25
Select your Environment
Select your Environment
26
Environment selected
Environment selected
27
Click on Token Generator Endpoint
Click on Token Generator Endpoint
28
Provide your username/password
Provide your username/password
29
Click Send
Click Send
30
If everything is set up correctly, your token should be generated.
If everything is set up correctly, your token should be generated.
31
Token is updated in the environment variable.
Token is updated in the environment variable.
32
e.g If you try Country - GET ALL
e.g If you try Country - GET ALL
33
You should see a 200 success response.
You should see a 200 success response.