Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

owen2jan's avatar

Submit quill with image gives 'Request-URI too long' error

I'm trying to use quill to add a WYSISYG editor to my project. Quill uses base64 image so as to display the file before upload. Works fine without images in the editor but adding images gives a Request-URI Too Long error because of the long base64 string.

0 likes
4 replies
Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

Are you sending it as a get request? Post submission should be post or put

owen2jan's avatar

@Sinnbeck managed to solve it. the problem was how I was submitting the form via inertia. I think how I did it was sending as a GET request. Thanks for the help.

owen2jan's avatar

@Sinnbeck Also on this, what field type is best to save the quill value? will longText work for this?

Sinnbeck's avatar

@owen2jan convert it to a real file and save the path. Just convert it back to bsse64 if you need to edit

1 like

Please or to participate in this conversation.