htwdd.chessgame.server.controller / MatchController / addMatchWithJson
addMatchWithJson
@PostMapping(["application/json"], ["application/json", "application/xml"]) @ResponseStatus(HttpStatus.CREATED) fun addMatchWithJson(@RequestBody matchDTO:
MatchDTO
, response: HttpServletResponse): ResponseEntity<
Match
>
Handles the POST request for the URI /draws Params encoded as application/json
Parameters
matchDTO
- Contains params as data transfer object
Author Felix Dimmel
See Also
Return Created draw
Since 1.0.0