Skip to main content
Send POST /hello with a name, receive a greeting, then locate its execution. An invalid request should stop at the guard.

Before you start

Use a non-production instance. You need permission to create and activate a Component and Endpoint, and a credential allowed to invoke the Endpoint. Set REVO_API_KEY in your shell without pasting its value into the guide or your code.
1

Create the Response element

In Components, create a JavaScript Component named Hello greeting with a visible element named Response. Paste this complete element body.
Response
In the debugger, supply the same input envelope the Endpoint will build.
Sandbox inputs
Expect the Response element to return a greeting and an execution ID. Save and activate the Component.
2

Configure POST /hello

In Endpoints, create a definition named Hello greeting, select the Component and set the method to POST and the path to /hello. Choose HTTP, Success status to 200 and Result element → Response. Set Validation status to 422.Paste this schema into the inline request guard. It requires a nonempty name in the JSON body.
Inline guard
Check the selected Component version and caller policy, then activate the Endpoint.
3

Send one valid request

Set REVO_ENDPOINT_URL to the Endpoint runtime base URL shown for your instance, without the trailing slash or /hello.
Request
The selected result is returned directly with HTTP 200.
Response

Verify the result

Find the execution in Observability using the response’s execution ID. Send the same request with --data '{}' to see HTTP 422. The guard rejects that request before the Component runs.

Continue with your preferred workflow

Stay in the Web IDE

Edit components with runtime-aware types, library navigation, and integrated debugging.

Use the CLI

Pull components into a local workspace, review drift, debug, and push changes safely.

Use custom Node.js

Build a hosted component with an injected Revo runtime and npm dependencies.

Integrate with the SDK

Call RevoEngine from a standalone Node.js service or from hosted custom code.
Last modified on November 11, 2026