# haxe.Http through haxe.remoting.HttpAsyncConnection

**URL:** <https://community.haxe.org/t/haxe-http-through-haxe-remoting-httpasyncconnection/2323>\
**Category:** Haxe\
**Created:** [March 24, 2020, 11:06pm UTC](https://community.haxe.org/t/haxe-http-through-haxe-remoting-httpasyncconnection/2323 "2020-03-24T23:06:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![filt3rek](https://community.haxe.org/user_avatar/community.haxe.org/filt3rek/32/2613_2.png) [@filt3rek](https://community.haxe.org/u/filt3rek)\
**Post date:** [March 24, 2020, 11:06pm UTC](https://community.haxe.org/t/haxe-http-through-haxe-remoting-httpasyncconnection/2323/1 "2020-03-24T23:06:15Z")

</div>

Hej all,

I know that haxe.remoting is deprecated but has anyone experimented something similar :  
When I call haxe.Http on an url from my server I get status 200 and data and bytes are well populated.  
When I do exactly the same call but through haxe.remoting, I mean , from my client, I call exactly the same function on the server that I used and worked fine, I get status 200 but data and bytes are empty ?

I know it’s a bit late here for me and maybe I’m tired, but It drives me crazy, if someone has tips I’ll be really thankful.

PS : Php7 and javascript

---

<div class="post-metadata">

**Author:** ![filt3rek](https://community.haxe.org/user_avatar/community.haxe.org/filt3rek/32/2613_2.png) [@filt3rek](https://community.haxe.org/u/filt3rek)\
**Post date:** [March 25, 2020, 9:44am UTC](https://community.haxe.org/t/haxe-http-through-haxe-remoting-httpasyncconnection/2323/2 "2020-03-25T09:44:25Z")

</div>

There must be something with haxe.Http or haxe.remoting because a simple ajax call using js.html.XMLHttpRequest does work…

---

<div class="post-metadata">

**Author:** ![filt3rek](https://community.haxe.org/user_avatar/community.haxe.org/filt3rek/32/2613_2.png) [@filt3rek](https://community.haxe.org/u/filt3rek)\
**Post date:** [March 25, 2020, 9:46am UTC](https://community.haxe.org/t/haxe-http-through-haxe-remoting-httpasyncconnection/2323/3 "2020-03-25T09:46:29Z")

</div>

And it’s more about haxe.Http, since when I throw inside, I get well headers but can’t get content

---

<div class="post-metadata">

**Author:** ![filt3rek](https://community.haxe.org/user_avatar/community.haxe.org/filt3rek/32/2613_2.png) [@filt3rek](https://community.haxe.org/u/filt3rek)\
**Post date:** [March 25, 2020, 10:43am UTC](https://community.haxe.org/t/haxe-http-through-haxe-remoting-httpasyncconnection/2323/4 "2020-03-25T10:43:35Z")

</div>

Ok, now I see. It’s more about myself going on holidays, having a rest 😂  
All is working fine.  
How can we delete post like that ? It’s a shame, well done for myself ! 😂

Have good day !
