chessgame

RESTful chessgame developed with kotlin

View on GitHub

htwdd.chessgame.server.controller / PlayerController / updatePlayer

updatePlayer

@PatchMapping(["application/x-www-form-urlencoded"], ["application/json", "application/xml"], ["/{id}"]) fun updatePlayer(@PathVariable id: Int, @RequestParam password: String, response: HttpServletResponse): ResponseEntity<Unit>

Handles the PATCH request for the URI /players/{id} Params encoded as application/x-www-form-urlencode

Parameters

id - Identifier for a single player

password - The updated password of the player

Author Felix Dimmel

Since 1.0.0