id: api-jotform

info:
  name: Jotform API Test
  author: 0xpugal
  severity: info
  description: Jotform is a powerful online form builder that makes it easy to create robust forms and collect important data.
  reference:
    - https://api.jotform.com/docs/
  metadata:
    verified: true
    max-request: 1
  tags: token-spray,jotform

self-contained: true

http:
  - method: GET
    path:
      - "https://api.jotform.com/user?apiKey={{token}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'email":"'
          - 'updated_at":"'
          - 'username":"'
          - 'responseCode":200'
        condition: and

      - type: word
        part: content_type
        words:
          - application/json
# digest: 4b0a004830460221008d9c13fc8af6328adf74dbe81fd50d97d8693c6c13b8d70af2555bce1998ca01022100dfc80dd53c65ad7275df357d9dddae152932be90bdb8b3e09bee472bf9301c6c:922c64590222798bb761d5b6d8e72950