# POST Command documentation missing variable for HOST

**URL:** <https://community.postman.com/t/post-command-documentation-missing-variable-for-host/2155>\
**Category:** Help Hub\
**Created:** [July 26, 2018, 7:27pm UTC](https://community.postman.com/t/post-command-documentation-missing-variable-for-host/2155 "2018-07-26T19:27:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![blaketastic2](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/blaketastic2/32/778_2.png) [@blaketastic2](https://community.postman.com/u/blaketastic2)\
**Post date:** [July 26, 2018, 7:27pm UTC](https://community.postman.com/t/post-command-documentation-missing-variable-for-host/2155/1 "2018-07-26T19:27:06Z")

</div>

I’ve set a variable “{{host}}” that looks correct for all GET request, however on the POST documentation curl command generated, it’s dropping the hostname. Example: “POST: http:///api/foo” vs “GET: [http://foo.bar.baz/api/foo](http://foo.bar.baz/api/foo)”

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 29, 2025, 4:15pm UTC](https://community.postman.com/t/post-command-documentation-missing-variable-for-host/2155/2 "2025-04-29T16:15:14Z")

</div>

Closed on April 29, 2025, 4:15pm UTC


