How can I push another element to the variables property from the below object?
variables
var request = { \"name\": \"Name\", \"id\": 3, \"r
Try:
request.rules[0].tags[0].variables.push({ "variable":"var3", "matchType": "Regex", "value": ".*" })
variables is into tags, and tags is into rules.
tags
rules
I edited the answer