1

I've created a PUT endpoint on a tomcat server using Spring boot. For safety reasons, I don't want the body size to exceed a certain amount, so I was checking whether there is a limit as there is for POST requests (which I know stays at 2MB)

At the same time I don't find any documentation for the PUT requests. Is there a limit for those too?

Akinn
  • 1,896
  • 4
  • 23
  • 36
  • Curious if you tried to use PUT for over 2 MB and if it allowed you or not. It might consider a PUT request, the same as a POST request since it is sending data, so the 2 MB limit might also apply. You will know once you try it. – JCompetence Jan 13 '22 at 11:55
  • does this answer your question https://stackoverflow.com/questions/1495541/rest-payload-max-size ? – mystery Jan 13 '22 at 12:05

0 Answers0