Forum Discussion
Best practices for handling batches of commands via REST
One option might be to create a transaction. From the guide:
"iControl REST supports batch mode transactions as a sequence of web service requests. The basic iControl REST methods to create, delete, commit, or query a resource also apply to transactions. However, instead of individual method requests, you combine multiple requests into a transaction, and perform the sequence of requests atomically. The transaction completes successfully if all of the commands in the transaction complete successfully. Otherwise, the transaction fails and the commands in the transaction are rolled back, or not committed."
https://devcentral.f5.com/d/icontrol-rest-user-guide-version-1150
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com