SlackBundle icon indicating copy to clipboard operation
SlackBundle copied to clipboard

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

Open mailopl opened this issue 8 years ago • 5 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)

mailopl avatar Dec 29 '16 13:12 mailopl

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 😉

DZunke avatar Jan 05 '17 07:01 DZunke

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.

DZunke avatar Jan 16 '17 19:01 DZunke

v2.2 is released. Hope it helps 😃

DZunke avatar Jan 16 '17 19:01 DZunke

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.

DZunke avatar Jan 19 '17 19:01 DZunke

Haha, good one! Cheers mate :)

mailopl avatar Feb 17 '17 11:02 mailopl