id: api-lob

info:
  name: Lob API Test
  author: daffainfo
  severity: info
  description: US Address Verification
  reference:
    - https://docs.lob.com/
    - https://github.com/daffainfo/all-about-apikey/tree/main/lob
  metadata:
    max-request: 1
  tags: token-spray,lob

self-contained: true

http:
  - raw:
      - |
        GET https://api.lob.com/v1/addresses HTTP/1.1
        Authorization: Basic {{base64(token + ':')}}
        Host: api.lob.com

    matchers:
      - type: word
        part: body
        words:
          - '"id"'
          - '"description"'
          - '"name"'
        condition: and
# digest: 490a00463044022010d39d979adbe081f3cd174a33f8f970e1473f056e514ebaaeb9e1af9b92a718022005790b307882ad4d970be3c71c98c283c746a209dc13bc59d2ba339c62472201:922c64590222798bb761d5b6d8e72950