I have the following request body:
{
"data": [
{
"productId": "{{productId}}",
"quantity": 2,
"attributes": {
"startAt": "2019-12-13T17:58:44.000Z",
"endAt": "2019-12-30T17:59:44.000Z"
}
}
]
}
In a pre-request script, I want to access this content… but with the ‘productId’ populated. Right now, when I attempt to access it (using request.data or pm.request.body) I get back the raw content with that actual “{{productId}}” template tag and not the value that should be inserted into it.