id: api-giphy

info:
  name: Giphy API Test
  author: geeknik
  severity: info
  reference:
    - https://developers.giphy.com/branch/master/docs/api/
  metadata:
    max-request: 1
  tags: token-spray,giphy

self-contained: true

http:
  - method: GET
    path:
      - "https://api.giphy.com/v1/gifs/trending?api_key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"data":'
          - '"type":"gif"'
        condition: and
# digest: 4b0a00483046022100e26f4d4d1925f71abfbe1e694e2fb1230ff145747867c212395bfdb8bc8ed7050221008b0069e565164c28f8a2cf100a8eaf61fcef202e66d6101bb9080a3047b82341:922c64590222798bb761d5b6d8e72950