# Would like to know headers in vault api ,

**URL:** <https://discuss.hashicorp.com/t/would-like-to-know-headers-in-vault-api/33502>\
**Category:** Vault\
**Created:** [December 22, 2021, 4:42am UTC](https://discuss.hashicorp.com/t/would-like-to-know-headers-in-vault-api/33502 "2021-12-22T04:42:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaddhiraghunath](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/vaddhiraghunath/32/24281_2.png) [@vaddhiraghunath](https://discuss.hashicorp.com/u/vaddhiraghunath)\
**Post date:** [December 22, 2021, 4:42am UTC](https://discuss.hashicorp.com/t/would-like-to-know-headers-in-vault-api/33502/1 "2021-12-22T04:42:16Z")

</div>

Basically I am using Application Load balancer infront of vault & consul setup … So I want to restrict the write calls at Load balancer , sothat my vault shouldnt receive write calls…

---

<div class="post-metadata">

**Author:** ![aram](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@aram](https://discuss.hashicorp.com/u/aram)\
**Post date:** [December 22, 2021, 11:38am UTC](https://discuss.hashicorp.com/t/would-like-to-know-headers-in-vault-api/33502/2 "2021-12-22T11:38:39Z")

</div>

- You should not do that. There is no reason to restrict write calls (I’m assuming you mean POST, PUT, PATCH?)
- I’d highly recommend not exposing consul via the load balancer, nothing other than Vault (consul agents running on the vault nodes) should be talking to those backend servers. If you need to use service registration then setup another cluster.

As far as how to setup LB for Vault. You can use a the sys/health end point: [/sys/health - HTTP API | Vault by HashiCorp](https://www.vaultproject.io/api/system/health) to determine which node is doing what: [/sys/health - HTTP API | Vault by HashiCorp](https://www.vaultproject.io/api/system/health#parameters)
