Is it possible to create a slash command that hits a local url? I have created one from the integrations menu but it doesn't seem to be reaching my local url which is available on our internal network. Is this supported or can I only post to publicly accessible sites?
Hi Andrew,
A webhook is initiated from HipChat servers, so they should be able to access your endpoint.
If you're using HipChat Server behind the firewall, i.e. inside your internal network, it should work.
Hope that helps,
Nick
I created a test instance and made sure I had a public URL that was accessible and it doesn't look like it's working.
I created a simple html page with the following text in it that it should be pulling in I think
{
"color": "green",
"message": "Andrew!!!",
"notify": false,
"message_format": "text"
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andrew,
Be aware that HipChat will POST to this URL, not just GET it. Some web servers don't allow POST request to static files be default (that happened to me with nginx).
I would try POST'ing to this URL manually (e.g. with curl) first in order to make sure it returns the JSON response.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.