Chaining API requests is a technique where you programmatically make multiple API requests to perform a particular function, with each request feeding subsequent requests.
Using a REST API client like Postman, you can create a workflow that makes a request to one of the WhiteHat Dynamic API operations, then uses the information contained in the response to make a request to a different operation. For example, using the WhiteHat Dynamic APIs, you can create a workflow that contains API requests to:
- Check if a name is available for a new mobile application.
- Create the mobile application.
- Create the scan instance.
- Provide credentials for the scan.
Once this workflow is created, users can then call that workflow to make all of the API requests included in the workflow, rather than having to make each API request individually. This automation reduces the need for manual intervention, and so reduces the potential for errors to be made in the process.
Updated about 1 month ago