Claus Ibsen created CAMEL-20633:
-----------------------------------

             Summary: camel-rest-dsl - Client request validation should return 
405 for missing body
                 Key: CAMEL-20633
                 URL: https://issues.apache.org/jira/browse/CAMEL-20633
             Project: Camel
          Issue Type: Improvement
          Components: camel-core, rest
            Reporter: Claus Ibsen
             Fix For: 4.6.0


We return 400 today, but its likely better to return 405 if body is required 
and its missing

405 Method Not Allowed
A request method is not supported for the requested resource; for example, a 
GET request on a form that requires data to be presented via POST, or a PUT 
request on a read-only resource.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to