mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-01-30 10:40:13 +08:00
Merge pull request #155 from aguibert/player-create-bugfix
Produce text/html response for creating player
This commit is contained in:
commit
06c398aaae
@ -33,6 +33,7 @@ public class PlayerService {
|
||||
}
|
||||
|
||||
@POST
|
||||
@Produces(MediaType.TEXT_HTML)
|
||||
public String createPlayer(@QueryParam("name") String name, @QueryParam("id") String id) {
|
||||
// Validate player name
|
||||
if (name == null)
|
||||
|
Loading…
Reference in New Issue
Block a user