Arunan Sugunakumar
1 min readMay 13, 2020

--

You can change the Iterate mediator as below. Assign the values to the property and use it in the URL.

<iterate id="iterate-over-users" preservePayload="true" attachPath="json-eval($.users)" expression="json-eval($.users)"><target><sequence><property name="uri.var.name" expression="json-eval($.users.name)"/><property name="uri.var.id" expression="json-eval($.users.id)"/><send><endpoint><http method="POST" uri-template="http://www.mocky.io/v2/5185415ba171ea3a00704eed/{uri.var.name}/{uri.var.id}"/></endpoint></send></sequence></target></iterate>

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Arunan Sugunakumar
Arunan Sugunakumar

Written by Arunan Sugunakumar

Technical Lead @wso2, MSc in Computer Science, B.Sc. Engineering (Hons.) and GSOCer @intermineorg

Responses (1)

Write a response