Returns a JSON array of Pokemon objects containing their name, number, and type
Request:/getAllPokemon
Response: Success [{"num":"001","name":"Bulbasaur","type":["Grass","Poison"]}...
One Param is required
Returns a Pokemon object containing their name, number, image, and type
Request:/getPokemon?type=name&value=3
Response: [{"num":"003","name":"Venusaur","img":"http://www.serebii.net/pokemongo/pokemon/003.png","type":["Grass","Poison"],"height":"2.01 m","weight":"100.0 kg"}]
One Param is required
Returns Pokemon objects of the search pokemon and its evolution chain containing their name, number, image, ,type,height,weight, and evolutions
Request:/getPokeLife?type=id&value=5
Response: [[{"num":"004","name":"Charmander","img":"http://www.serebii.net/pokemongo/pokemon/004.png","type":["Fire"],"height":"0.61 m","weigh...
Returns Pokemon objects with the same type as the search. Object contain the pokemons number, name,and types
Request:/getType?type=type&value=Normal
Response:[{"num":"016","name":"Pidgey","type":["Normal","Flying"]},{"num":"017","name":"Pidgeotto","type":["Normal","Flying"]},{"num":"018","name":"Pidgeot","type":["Normal",...
Either required
Required
Returns a message if successful
Request:/changeImage
Body:{ inputType: 'id', value: '2', link: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASoAAACpCAMAAACrt4DfAAABIFBM..}
Response:Message:Success pokemon 002's image was updated
Required
Returns a message if successful
Request:/addPokemon
Body: {num: '4365', name: 'Gettetto', img: 'https://jm.jmmb.com/sites/default/files/2023-11/Jmmb_logo-01_0.png', type: 'Normal'}
Response: Message:Success Gettetto added to the Pokedex