a month ago
Orb now supports dry running API requests
Orb's API now supports the dry running of requests. Dry running API requests allows you to validate the correctness of a request without making any actual changes to the system. This feature is particularly useful for ensuring that the request does not contain any errors and for previewing the potential response of a mutation before committing it.
Dry-running a request is as simple as including a “Dry-Run” header with a value of “True”, as shown below:
curl --request POST \ --url https://api.withorb.com/v1/subscriptions \ --header 'Dry-Run: True' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer null' \ --header 'Content-Type: application/json'
More information can be found in our documentation.