> For the complete documentation index, see [llms.txt](https://docs.langstack.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.langstack.com/welcome/get-started/learn-langstack/introduction-to-rest-api/request-and-response-body/how-to-create-and-work-with-a-request-body.md).

# How to create and work with a Request body

* To create a request body:&#x20;
  * Go to the Inputs & outputs tab.&#x20;
  * Click the \[+ Request body] button in the Request body section.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4addreqbody.png>" %}

* To expand or collapse a Request body, hover the mouse on the Request body and click the arrow in the top right corner.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4expreqbody.png>" %}

* To delete a Request Body, hover the mouse on the Request body and click the (x) in the top right corner.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4delreqbody.png>" %}
