mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-03-07 11:26:52 +08:00
Produce text/html response for creating player
This commit is contained in:
parent
a33dc9f824
commit
9b15e8b515
@ -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