# Input in search query string

**URL:** <https://forum.opensearch.org/t/input-in-search-query-string/15008>\
**Category:** OpenSearch\
**Created:** [July 7, 2023, 9:56am UTC](https://forum.opensearch.org/t/input-in-search-query-string/15008 "2023-07-07T09:56:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blackkite](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@blackkite](https://forum.opensearch.org/u/blackkite)\
**Post date:** [July 7, 2023, 9:56am UTC](https://forum.opensearch.org/t/input-in-search-query-string/15008/1 "2023-07-07T09:56:54Z")

</div>

will a $[input] work in a query string similar to below.? I want to replace query:‘The Outsider’ with query: $[input] and place the ‘The Outsider’ in the body of a postman post request.

var query = {  
query: {  
match: {  
title: {  
query: ‘The Outsider’,  
},  
},  
},  
};

var response = await client.search({  
index: index\_name,  
body: query,  
});
