Author and Verify a Transformation
A 3-step recipe with Hookdeck. We can help you get access.
Recipe · 3 steps
Author and Verify a Transformation
with Hookdeck
Create a transformation and validate it against a sample request.
- Create the transformation from the supplied name and JavaScript code.
- Run the stored transformation against a sample request to confirm it executes and capture the resulting log level.
- Read the stored transformation back to confirm it was persisted and capture its final code.
What you'll need to have ready
- transformationName: A unique name for the transformation.
- code: The JavaScript code to execute as the transformation.
- sampleBody: A sample request body to test the transformation against.
For your developer
Arazzo workflow hookdeck:author-transformation, 3 operations: createTransformation → testTransformation → getTransformation. Specs on APIs.io.