Hello World
Last updated
Was this helpful?
Last updated
Was this helpful?
The most simple endpoint that can be created with Diagram is one that simply returns some static data.
To create one:
Click on the "+" button in the bottom left corner to open the nodes panel. Then drag a response node and drop it in the canvas.
To connect the two nodes, click and drag on the "Params" port from the request node and drag the link to the "Source" port of the response node.
Then, click on the response node to access its settings and toggle the "Static" parameter to true and add a property "hello" with the value of "world". That will ignore the parameters received in the node and always return the object {"hello": "world"}
Next, click on the "Debug" button on the top right corner. That will bring the debug panel. The endpoint we created requires no parameters so just click "Run" and it will return the object {"hello": "world"} we set earlier.
To call the endpoint from your frontend or from another nocode app you can click the clipboard icon next to the API url or copy the url directly.
Head to and click "New Endpoint". The newly created endpoint only has a request node.