# @forge/api ignores query string

**URL:** <https://community.developer.atlassian.com/t/forge-api-ignores-query-string/60600>\
**Category:** Forge Platform and Tools\
**Tags:** query-parameter, forge-api\
**Created:** [August 11, 2022, 1:47pm UTC](https://community.developer.atlassian.com/t/forge-api-ignores-query-string/60600 "2022-08-11T13:47:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SamSmyth](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/samsmyth/32/48584_2.png) [@SamSmyth](https://community.developer.atlassian.com/u/SamSmyth)\
**Post date:** [August 11, 2022, 11:56pm UTC](https://community.developer.atlassian.com/t/forge-api-ignores-query-string/60600/2 "2022-08-11T23:56:53Z")

</div>

Hey @RoiLarrenceAmatong,

The `route` tagged template literal strips everything after the `?` in each parameter to prevent query string injection attacks in Forge apps. You will need to make a query where the `?` is not part of the interpolated parameters, for example:

```javascript
route`${configData.URL_CONFIG_JIRA_URLS.BASE_URL}${path}?${query}`
// or
route`${configData.URL_CONFIG_JIRA_URLS.BASE_URL}${path}?accountId=${accountId}`
// etc.

```

See the documentation on `route` [here](https://developer.atlassian.com/platform/forge/runtime-reference/product-fetch-api/#route) for more information. In case it helps with debugging, you should be able to see the resultant url that is being requested by running:

```javascript
console.log(route`${url}`);

```

Hope that helps, let me know if you have any issues.  
Sam

---

_[View the full topic](https://community.developer.atlassian.com/t/forge-api-ignores-query-string/60600)._
