Create Custom REST API Using Logics

Make sure you understand the concept of Custom REST API Service Using Logics and then continue reading here.

Take these steps:

  1. Navigate to the API tab of the logic editor.

  2. The API tester console calls the logic on the server. Therefore if you do not have your logic deployed on the partition yet, select the Deploy logic checkbox. It will deploy the logic to the partition selected at the top of the editor.

  3. If you want to generate the JSON payload using the parameter values from the Parameters tab, select Payload from Parameters checkbox. Deselect this option if you want to provide the payload manually and the Request Payload tab will become editable.

  4. Click the Run button and you can check the endpoint response in the Response Body tab.

  5. If you want to copy the endpoint URL to the clipboard, e.g. to send it to the customer, click the Copy button next to the endpoint URL.

Found an issue in documentation? Write to us.

Â