Processing Data with For Loop
Processes JSON data coming from client by iterating through the data. In this example, it is assumed that the incoming data has a personnel information list.Copying to Header with Each Method
Copies JSON data coming from client to the header section of the message and sends it to the backend. If there are sub-objects or lists, they are added as-is.Sequential Processing with EachWithIndex
Processes JSON data coming from client by retrieving each value with its order information for use in the loop.These script examples should be run on the request line (Request Policy) because they use the
requestBodyTextFromClient and requestHeaderMapToTargetAPI variables.
