DZunke / SlackBundle

SlackBundle for Symfony2 with Guzzle-Integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot upload large attachments (GET LIMITS) - 414 Request-URI Too Large

mailopl opened this issue · comments

You send everything via GET, meaning it has certain limits. The only reason why I used this bundle was that I was too lazy to implement my own Slack API, and I needed to do that because webhooks do not allow you to upload files/snippets. WIth your bundle you can upload a snippet, but you're limited by max GET length. (414 Request-URI Too Large)

Hey,

thanks for the Issue and a happy new year 🎉

I will take a look on it and check if we could change it to POST Requests. I do not know why i had implemented it as GET but there must have been a Reason. Long Long time ago 😉

Have not found any issues with sending POST-Requests. So it will be integrated in coming v2.2 but not default. In the Connection class there will be a switch for GET and POST, also one will find the possibility to set it by symfony config.

v2.2 is released. Hope it helps 😃

Sorry! Please be sure to use v2.3. Don't know how much beer was needed to make this not work. Had done the bugfix in v2.3.

Haha, good one! Cheers mate :)