In the lib/http module, this.evaluate() is a method that acts as a String Formatter. It allows you to format external variables into a string using curly braces. For example, var1={var1}; var2={var2}
When using strings instead of JSON data, which is not the recommended method, there is an issue where the curly braces are removed.
Summary
In the
lib/http
module,this.evaluate()
is a method that acts as a String Formatter. It allows you to format external variables into a string using curly braces. For example,var1={var1}; var2={var2}
When using strings instead of JSON data, which is not the recommended method, there is an issue where the curly braces are removed.
Recommended example
Example used in an user environment