id: api-flickr

info:
  name: Flickr API Test
  author: geeknik
  severity: info
  reference:
    - https://www.flickr.com/services/developer/api/
  metadata:
    max-request: 1
  tags: token-spray,flickr

self-contained: true

http:
  - method: GET
    path:
      - "https://www.flickr.com/services/rest/?method=flickr.tags.getHotList&api_key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - 'secret'
          - 'owner'
          - 'username'
        condition: and
# digest: 490a0046304402203c21fdc60582eaef549c74f00b6ea519a0ee1086002f3eac0b252198f84f9b9202207f6e61be64dbe282e435ad52b2bd141cbed3819b7b9cdea361e78a18953f74ae:922c64590222798bb761d5b6d8e72950