400 Bad Request when trying to use /http-bind/


I'm using a private installation of HipChat and trying to create a bot that would use the new BOSH endpoint at /http-bind. Curl 'my-server/http-bind' gives me

<a href='http://www.xmpp.org/extensions/xep-0124.html'>XEP-0124</a> - BOSH

I'm reading XEP-0124 and trying to use the following command to get at least some proper output:

curl -L -v -d "<body rid='123456' xmlns:xmpp='urn:xmpp:xbosh'/>" my-server/http-bind/

It returns "400 Bad Request" all the time.

Could you provide an example of a properly formatted POST body to test if BOSH actually works?


1 answer

0 vote

Hi Anton,

We have a service desk channel primarily focused on attending development inquiries. Since this question concerns API and some custom development troubleshooting, you might wanna reach out to the devs directly to receive for further assistance on that.

You can visit the page linked below in order to file a request with them, I'm sure they will be able to assist you with this matter:


Hope this helps! 


Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Published Oct 07, 2017 in Hipchat

Bringing Structure to your HipChat Instance

...have mention name FirstnameLastname. Fe.: @MaartenCautreels This certainly helps to know who is being mentioned in a conversation. Imagine your colleague sends the following message...

458 views 1 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot