PerBonomi
11 years agoBoss
REST API. Getting error posting new message
Hi folks. I'm using the API to post a new message, following instructions here:
The string I submit should be able to have a limit of 1,000,000 characters, but I get an error around the 7,000 mark.
Using this code works fine if the body string I pass is below 7,000 or 8,000 characters:
vBody = <string of about 8,000 chars>; $.post("/restapi/vc/boards/id/genericboard/messages/post?message.subject=subject&message.author=/users/login/Per&message.body=" + vBody );
When that string goes over 7/8k I get this error:
HTTP/1.1 413 Request Entity Too Large
Any advice? Is the API documentation wrong about the 1MM limit or am I using it wrong?