Automatically generated postman collection based on your database.
Generated Project Folder
Inside API Folder
You can find POSTMAN_IMPORT_FILE
Automatically generated Postman Collection and Environment Variable file based on your database.
Open Postman app
Click on Import button
Click on Files link
Go to required folder where POSTMAN_IMPORT_FILE is there
Import both the file
After selecting both the file click open
One should receive this dialog with the Collection and Environment.
Click Import
In Collection Tab
You should have your collection imported.
In Environment Tab
You should have your environment variables imported.
You hosted API URL
Token Variable (will automatically set when token is generated)
Lets update this value to your hosted api url
I have this test API hosted in XAMP Server locally and inside phpapi folder. Copy this url
Updated with http://localhost:82/phpapi (note the trailing / at the end)
Click Save
In Collection Tab
Select your Environment
Environment selected
Click on Token Generator Endpoint
Provide your username/password
Click Send
If everything is set up correctly, your token should be generated.
Token is updated in the environment variable.
e.g If you try Country - GET ALL
You should see a 200 success response.
You successfully completed the guide!