Skip to content

Request body

Ahmad K. Bawaneh edited this page Feb 16, 2020 · 3 revisions

Request body

In case of POST, PUT, PATCH http requests we normally sends a body in the request, in domino-rest the body of the request is determined from the call argument using one of the following in order :

  1. The argument in the method is annotated with @RequestBody.
  2. The class representing the type of the argument is annotated with @RequestBody.
  3. The last argument in the method that is not annotated with @QueryParam or @HeaderParam or @PathParam