2021-11-13 04:15:49 +00:00
|
|
|
id: api-adoptapet
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: AdoptAPet API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://www.adoptapet.com/public/apis/pet_list.html
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/blob/main/Animals/AdoptAPet.md
|
|
|
|
tags: token-spray,adoptapet
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.adoptapet.com/search/pets_at_shelter?key={{token}}&v=2&output=json&shelter_id=79570&start_number=1&end_number=500"
|
2021-11-13 18:03:07 +00:00
|
|
|
|
2021-11-13 04:15:49 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'returned_pets":'
|
|
|
|
- 'total_pets":'
|
|
|
|
condition: and
|