API hosted on petdibs.herokuapp.com
GET /pets
returns all petsGET /pets/1
returns information on specific pet, by idPOST /pets
- Create a new pet- Acceptable Params:
- name: string
- breed: string
- age: integer
- about: string
- vaccinated: boolean
- Acceptable Params:
PUT /pets/1/vaccinated
- update status of vaccination of a specific pet, by id- Acceptable Params:
- vaccinated: boolean
- Acceptable Params:
PUT /pets/1/dibs
- update pet with owner, by pet id- Acceptable Params:
- owner: string
- Acceptable Params:
DELETE /pets/1
to delete a pet, by id