You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you give an example on which size of HTML the requests fails? Maybe we can cover this with a test or it's maybe solved in a newer version of Etherpad. (I need to update the version the client tests against)
I just ran into this problem as well. The problem with passing large amounts of data (usually more than 8k) in a get request isn't specific to etherpad. Many web servers do not allow more than 8k in a get request. The etherpad docs say:
If your text is long (>8 KB), please invoke via POST and include text parameter in the body of the request, not in the URL (since Etherpad 1.8).
I'm not very familiar with guzzle, but I guess you just need to change the $client->get(..) into a $client->post(...) for some api functions. Starting with setText() might be a good test.
This lib uses only get requests for its api communication. setHTML suppots post requests. I am trying to set a larger html text which fails.
The text was updated successfully, but these errors were encountered: