sendgrid-perl icon indicating copy to clipboard operation
sendgrid-perl copied to clipboard

414 Request-URI Too Large

Open mmlange opened this issue 9 years ago • 1 comments

When attaching multiple files, I get this error when sending: 414 Request-URI Too Large. Looking into the code, it looks like most of the data is urlencoded. According to the SendGrid support site[1], it looks like this can be avoided by POSTing the data instead of sending it in the URL.

[1] https://support.sendgrid.com/hc/en-us/articles/200181828-HTTP-POSTing-The-Right-Way

mmlange avatar Aug 11 '15 23:08 mmlange

I was impacted by this issue as well. I added a pull request (https://github.com/sendgrid/sendgrid-perl/pull/21) for the local changes I made to POST the data to the SendGrid servers.

jordanmueller avatar Apr 04 '16 15:04 jordanmueller