# Add a JSON body in a GET Web Request

**URL:** <https://community.appfarm.io/t/add-a-json-body-in-a-get-web-request/1361>\
**Category:** Ask the community\
**Tags:** web-request\
**Created:** [August 28, 2024, 1:29pm UTC](https://community.appfarm.io/t/add-a-json-body-in-a-get-web-request/1361 "2024-08-28T13:29:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![oyvind.byhring](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/oyvind.byhring/32/1060_2.png) [@oyvind.byhring](https://community.appfarm.io/u/oyvind.byhring)\
**Post date:** [August 28, 2024, 1:29pm UTC](https://community.appfarm.io/t/add-a-json-body-in-a-get-web-request/1361/1 "2024-08-28T13:29:24Z")

</div>

We’re building an AI Chat using Azure AI Search, and the API supports adding the search query as a JSON body when using GET requests.

From what I can tell I can’t define a body in Appfarm when setting the HTTP method to GET, and since the search query is a vector array (1536 floats) I can’t add it as a query parameter (URL too long error).

Is there any workaround for this?

---

<div class="post-metadata">

**Author:** ![ErikAKSkallevold](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/erikakskallevold/32/1378_2.png) [@ErikAKSkallevold](https://community.appfarm.io/u/ErikAKSkallevold)\
**Post date:** [August 28, 2024, 1:35pm UTC](https://community.appfarm.io/t/add-a-json-body-in-a-get-web-request/1361/2 "2024-08-28T13:35:33Z")

</div>

Hi,

Can you please send a link to the documentation?

// Erik

---

<div class="post-metadata">

**Author:** ![oyvind.byhring](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/oyvind.byhring/32/1060_2.png) [@oyvind.byhring](https://community.appfarm.io/u/oyvind.byhring)\
**Post date:** [August 28, 2024, 1:37pm UTC](https://community.appfarm.io/t/add-a-json-body-in-a-get-web-request/1361/3 "2024-08-28T13:37:22Z")

</div>

Realized I was wrong. Ignore this topic 👀

---

<div class="post-metadata">

**Author:** ![ErikAKSkallevold](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/erikakskallevold/32/1378_2.png) [@ErikAKSkallevold](https://community.appfarm.io/u/ErikAKSkallevold)\
**Post date:** [August 28, 2024, 1:37pm UTC](https://community.appfarm.io/t/add-a-json-body-in-a-get-web-request/1361/4 "2024-08-28T13:37:56Z")

</div>

Not a problem, hope the integration goes well 😄
