InfraNode.dev

GET /api/v1/echo

Echo an integer query (validation demo)

Returns the integer query parameter you pass in. A non-integer value triggers the unified 400 error envelope, demonstrating input validation.

Parameters

Name In Required Type Description
n query yes integer

Code samples

curl "https://infranode.dev/api/v1/echo?n=1"

Try it

No live console is available for this endpoint. It is an operational or demo operation (for example a forced error or key mint) and is only documented here. Use the code samples above to call it directly.