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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 19, 2018 in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

15,980 views 4 9
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