Skip to content
Snippets Groups Projects

Issue #18, #19 resolved

3 files
+ 17
1
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -23,6 +23,17 @@ Content-Type: application/json
"trainerId": "1"
}
###
POST http://localhost:8080/pokemon/api/pokemon
Content-Type: application/json
{
"id" : 20,
"name": "My new pokemon",
"pokemonType": "1",
"trainerId": "1"
}
###
# Run this after creating a new pokemon
PUT http://localhost:8080/pokemon/api/pokemon/1
Loading