# How can I set the header CORS 'Access-Control-Allow-Origin'?

**URL:** <https://softwaremill.community/t/how-can-i-set-the-header-cors-access-control-allow-origin/324>\
**Category:** General\
**Created:** [November 18, 2023, 11:56pm UTC](https://softwaremill.community/t/how-can-i-set-the-header-cors-access-control-allow-origin/324 "2023-11-18T23:56:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elyphas](https://dub1.discourse-cdn.com/flex005/user_avatar/softwaremill.community/elyphas/32/208_2.png) [@elyphas](https://softwaremill.community/u/elyphas)\
**Post date:** [November 18, 2023, 11:56pm UTC](https://softwaremill.community/t/how-can-i-set-the-header-cors-access-control-allow-origin/324/1 "2023-11-18T23:56:04Z")

</div>

I am trying t get rid of lacking of header CORS ‘Access-Control-Allow-Origin’

---

<div class="post-metadata">

**Author:** ![adamw](https://dub1.discourse-cdn.com/flex005/user_avatar/softwaremill.community/adamw/32/28_2.png) [@adamw](https://softwaremill.community/u/adamw)\
**Post date:** [November 19, 2023, 8:36pm UTC](https://softwaremill.community/t/how-can-i-set-the-header-cors-access-control-allow-origin/324/2 "2023-11-19T20:36:09Z")

</div>

Did you enable the CORS interceptor? [Interceptors — tapir 1.x documentation](https://tapir.softwaremill.com/en/latest/server/interceptors.html)

---

<div class="post-metadata">

**Author:** ![elyphas](https://dub1.discourse-cdn.com/flex005/user_avatar/softwaremill.community/elyphas/32/208_2.png) [@elyphas](https://softwaremill.community/u/elyphas)\
**Post date:** [November 19, 2023, 10:05pm UTC](https://softwaremill.community/t/how-can-i-set-the-header-cors-access-control-allow-origin/324/3 "2023-11-19T22:05:22Z")

</div>

no, sorry, I am going to read it.

Thank you
