Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using operators in API body #80

Open
M-Hagras opened this issue Feb 27, 2018 · 0 comments
Open

Using operators in API body #80

M-Hagras opened this issue Feb 27, 2018 · 0 comments

Comments

@M-Hagras
Copy link

I am trying to loop over source[List] to get data attribute pushing it to source.

I am using for loop but I get an error in codition operator. how can I escape it?
code
.body("for(int i=0 ; i<=${source}.size() ; i++) ${destination}.add(${source}.get(0).getXValue());" + "return ${destination};"))
Error

unexpected character in markup = (position: START_TAG seen ... to ="getXValue" type ="DYNAMIC">for(int i=0 ; i<=... @220:123)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant