Using JavaScript
Apirios is designed the way that most use cases should be possible to implement using visual programming, without writing any code. However, visual programming is not as expressive as general purpose languages like JavaScript. For this reason, Apirios allows you to use JavaScript so you can freely express yourself and solve more complex problems.
Usage
You can use JavaScript in the following places:
-
Text value (e.g. JSON, XML, raw) - JavaScript expression should be wrapped in
${}
. Can be useful to dynamically insert a test variable. -
JavaScript expression value - Can be used not only in an input value but also in test variables, API variables, and category variables.
-
Node input JavaScript transformation - You can transform the input value using JavaScript before passing it to the node.
-
Code node - You can write JavaScript code in the Code node. In this node you can also execute asynchronous code.
Available utils
uuid()
- Generates a random UUID.