# About connecting Photon to local server

**URL:** <https://community.particle.io/t/about-connecting-photon-to-local-server/13923>\
**Category:** General\
**Created:** [July 29, 2015, 5:15pm UTC](https://community.particle.io/t/about-connecting-photon-to-local-server/13923 "2015-07-29T17:15:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikelo](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@mikelo](https://community.particle.io/u/mikelo)\
**Post date:** [July 29, 2015, 5:15pm UTC](https://community.particle.io/t/about-connecting-photon-to-local-server/13923/1 "2015-07-29T17:15:00Z")

</div>

hi guys:  
I am looking for example that help me do POST on local http server, but I still don’t find it. Do any one can send me a link?

---

<div class="post-metadata">

**Author:** ![MORA](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mora/32/8575_2.png) [@MORA](https://community.particle.io/u/MORA)\
**Post date:** [July 29, 2015, 7:45pm UTC](https://community.particle.io/t/about-connecting-photon-to-local-server/13923/2 "2015-07-29T19:45:20Z")

</div>

HttpClient lib supports post, theres a get example in the library, and a comment on how to use body, which I think you need for POST.

There seems to be an issue with the code in particle build being outdated compared to github, so you need to fork it and it will work with no changes.

Hopefully it gets repulled soon.
