id: api-abstract-user-avatars

info:
  name: Abstract Api User Avatars Test
  author: daffainfo
  severity: info
  description: Create highly customizable avatar images with a person's name or initials to improve your user experience.
  reference:
    - https://www.abstractapi.com/api/user-avatar-api
    - https://github.com/daffainfo/all-about-apikey/tree/main/abstract-user-avatars
  metadata:
    max-request: 1
  tags: token-spray,abstractapi

self-contained: true

http:
  - method: GET
    path:
      - "https://avatars.abstractapi.com/v1/?api_key={{token}}&name=example"

    matchers:
      - type: word
        part: header
        words:
          - 'image/png'
# digest: 4a0a0047304502201f95b95971e17d0c933eb04fa1804fe3e7499dd791263f1985ab658792ee9724022100f7c65409bfd68de13699a0101a4eddfbd5eee77df0d8b66e1aca144906636473:922c64590222798bb761d5b6d8e72950