# Sending a parameter to POST

**URL:** <https://community.postman.com/t/sending-a-parameter-to-post/11906>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [April 13, 2020, 5:01am UTC](https://community.postman.com/t/sending-a-parameter-to-post/11906 "2020-04-13T05:01:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![guruk2k5](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/guruk2k5/32/1303_2.png) [@guruk2k5](https://community.postman.com/u/guruk2k5)\
**Post date:** [April 13, 2020, 5:01am UTC](https://community.postman.com/t/sending-a-parameter-to-post/11906/1 "2020-04-13T05:01:34Z")

</div>

Hi,

I am looking for help to send a query to DevOps. The API URL is [Azure DevOps Services | Sign In](https://dev.azure.com/fabrikam/Fabrikam-Fiber-Git/_apis/wit/queries/%7Bquery%7D?api-version=5.1) how can I add {query} parameter value as it is json inPOSTMAN to test. Screenshots or steps would help me.

The doc from MS doesn’t elaborate it

> **[Queries - Create - REST API (Azure DevOps Work Item Tracking)](https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/queries/create?view=azure-devops-rest-5.1)**
>
> Learn more about Work Item Tracking service - Creates a query, or moves a query. Learn more about Work Item Query Language (WIQL) syntax here.

---

<div class="post-metadata">

**Author:** ![singhsivcan](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/singhsivcan/32/1595_2.png) [@singhsivcan](https://community.postman.com/u/singhsivcan)\
**Post date:** [April 13, 2020, 7:16am UTC](https://community.postman.com/t/sending-a-parameter-to-post/11906/2 "2020-04-13T07:16:32Z")

</div>

@guruk2k5 The query is a string, as stated in the MS Doc also.

What do you mean by `JSON in Postman test`?

Do you mean building this `query` param in a `Pre-request` script, like having this dynamically built?

I am guessing what you’re looking for is [how to use variables](https://learning.postman.com/docs/postman/variables-and-environments/variables/).
