Add variable to JSON body

Number of APIs: 1

This is an answer to the following question on the Qodex Community Forum:

Open the Add variable to JSON body request and notice how we're using the pre-request script to change the value of the variable present in the body right before the request is being sent.

  1. Add variable to JSON body POST http://postman-echo.com/post