# Missing Origin in requests Headers when making http call via HttpClient

**URL:** <https://forum.ionicframework.com/t/missing-origin-in-requests-headers-when-making-http-call-via-httpclient/242826>\
**Category:** Capacitor\
**Created:** [July 3, 2024, 11:13am UTC](https://forum.ionicframework.com/t/missing-origin-in-requests-headers-when-making-http-call-via-httpclient/242826 "2024-07-03T11:13:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jle123456](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jle123456](https://forum.ionicframework.com/u/jle123456)\
**Post date:** [July 3, 2024, 11:13am UTC](https://forum.ionicframework.com/t/missing-origin-in-requests-headers-when-making-http-call-via-httpclient/242826/1 "2024-07-03T11:13:42Z")

</div>

Hi,  
I am working with Angular 18, Capacitor 6, Ionic 7.  
My problem is that all http client call are missing the Origin requests header, which leads to a problem on my server side since i check the origin of the api call thanks to this header.  
I don’t know if it’s an Angular or Capacitor problem, i would say it is Capacitor because i have a webapp working only with Angular 18 and the Origin is well present in request Headers.  
Does someone could help me ?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![julio-ionic](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@julio-ionic](https://forum.ionicframework.com/u/julio-ionic)\
**Post date:** [July 3, 2024, 12:02pm UTC](https://forum.ionicframework.com/t/missing-origin-in-requests-headers-when-making-http-call-via-httpclient/242826/2 "2024-07-03T12:02:33Z")

</div>

Do you have Capacitor http plugin enabled?

---

<div class="post-metadata">

**Author:** ![jle123456](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jle123456](https://forum.ionicframework.com/u/jle123456)\
**Post date:** [July 3, 2024, 2:13pm UTC](https://forum.ionicframework.com/t/missing-origin-in-requests-headers-when-making-http-call-via-httpclient/242826/3 "2024-07-03T14:13:08Z")

</div>

yes i have, requests are well sent, it’s just my server side needs origin request header so it fails
