Bruce Axtens Active Member Licensed User Longtime User Mar 14, 2016 #1 I just tried to send 260K of text to a REST server built in B4J. The request was a POST, not a GET. What are the limits of the Jetty engine and how can I extend them? Last edited: Mar 14, 2016
I just tried to send 260K of text to a REST server built in B4J. The request was a POST, not a GET. What are the limits of the Jetty engine and how can I extend them?
Erel B4X founder Staff member Licensed User Longtime User Mar 14, 2016 #2 Did you get any error? You can send larger files. Upvote 0
Bruce Axtens Active Member Licensed User Longtime User Mar 14, 2016 #3 Okay, read the source again. It's a PUT and the data is in the query string. Will try again with POST. Can the PUT use a body like a POST or does only POST use a body? Upvote 0
Okay, read the source again. It's a PUT and the data is in the query string. Will try again with POST. Can the PUT use a body like a POST or does only POST use a body?
Bruce Axtens Active Member Licensed User Longtime User Mar 14, 2016 #4 And the answer is, yes, PUT can take a body. B4J is wonderful, no? Upvote 0
DonManfred Expert Licensed User Longtime User Mar 14, 2016 #5 Put is limited. Pobably around a few kb (if more than a kb) are possible. Use POST instead. Upvote 0