Skip to content
apirios
docs

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 in text value (e.g. JSON, XML, raw)

  • JavaScript expression value - Can be used not only in an input value but also in test variables, API variables, and category variables.

    JavaScript expression value

  • Node input JavaScript transformation - You can transform the input value using JavaScript before passing it to the node.

    Node input JavaScript transformation

  • Code node - You can write JavaScript code in the Code node. In this node you can also execute asynchronous code.

    Code node

Available utils

  • uuid() - Generates a random UUID.