Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 558 Bytes

.rest

File metadata and controls

20 lines (14 loc) · 558 Bytes

### GET All pokemons GET http://localhost:3001/pokemons

### GET Pokemon ID GET http://localhost:3001/pokemon/1

### GET Types Pokemons GET http://localhost:3001/types

### DELETE Pokemon DELETE http://localhost:3001/pokemon

### PUT OR PATCH PATCH http://localhost:3001/pokemon/id

### POST Pokemon POST http://localhost:3001/pokemon Content-Type: application/json

{"name":"pikachu","image":"sadsadd","hp":"hsad","attack":"hsad","defense":"hsad","specialAttack":"hsad","specialDefense":"hsad","speed":"hsad","height":"hsad","weight":"hsad","types":[1,3,4]}