Postman variable with array of strings - post man runner


I am trying to create a postman runner with json content like {
“data”: [ “value1”, “value 2”]

Then in the request i am using
“data”: {{data}}

But then the string is passing to the server without ". I tried placing " in
“{{data}}” then the array becomes single string of joined content. How to pass array of strings in this case.

This post in the tips and tricks thread will help you out - Sharing tips and tricks with others in the Postman community