How to send variable in search and query request body

Hello All,
I am using simple jason and have integrated my API as datasource in grafana.
I want to send some variables from dashboard in search and query requestbody but could not achieve.Request to kindly help.
I have already tried variables from settings in dashborad, it is sending those variables in referer.

so what is the variable that represent your body field ? You might need to assign that to a variable probably

I already tried setting variable from settings but it is coming in refer of request header but refer can be disabled so it would not be a reliable solution. i am looking for solution like we send payload in rest API under @RequestBody.


can you post some thing scren shot or graph or some representation of the data