When we might work with HTTP
- Everyday by browsing sites.
- During early development prior to an interface integration.
- Manual testing of a newly deployed though not necessarily automated feature.
- Production, or other higher order environment, diagnosing reported issues.
- Penetration testing to produce otherwise unexpected data to a service.
Should Swagger be available an approach is to import the definition into Postman where a Collection will be made. From this collection Requests can be exported to cURL/HttpClient/Unirest/Httpie specific commands.
This is ideal during development and where working with environments with lesser access constraints.
There are times as we progress through the release pipeline and we find ourselves working on the command line directly on an application instance (possibly due to VPC, firewall or routing configuration).Using Postman as a local library of CLI commands to be pasted onto the server will assist with this task.