I would like to execute the REST API method scripts but sending several lines in the parameter script, how can we do this?.
For example I would like to launch two print statements like the following:
:PRINT ‘TUTU’
:PRINT ‘TATA’
Release : 12.3.x and 21.x
Component: Automation Engine
Functional Area: Rest API scripts
Example on the documentation does not show how to pass multiple lines.
In order to pass several lines to the script parameter you need to use the blank followed by \n at the end of each line, as below:
2023-02-27 17:06:17 - U00020408 TUTU
2023-02-27 17:06:17 - U00020408 TATA