title: Modify a JSON response to send back to the api in Gatling/Scala
body: <p>I am doing some Gatling and since I never do scala, I am kind of lost.
  I want to modify the JSON response from a JsonPath I receive before sending it back</p>
  <p>My code look like this</p>
  <pre><code>  .exec(
      http(&quot;Get call&quot;)
        .get(&quot;getEndpoint&quot;)
        .check(jsonPath(&quot;$.value&quot;).saveAs(&quot;RESPONSE_DATA&quot;))
    )
    .exec(
      http(&quot;Post call&quot;)
        .post(&quot;postEndpoint&quot;)
        .header(&quot;content-type&quot;, &quot;application/json&quot;)
        .body(StringBody(&quot;${RESPONSE_DATA}&quot;))
        .asJson
    )
  </code></pre>
  <p>For example, I want to change to the first name of the user receive in Json from the Get Call. I can't manage to find an answer to Gatling documentation</p>