From f3fdbe03d2281b510e483bbf1c0b1536f15b777c Mon Sep 17 00:00:00 2001 From: Muhammad Daffa <36522826+daffainfo@users.noreply.github.com> Date: Mon, 29 Nov 2021 17:40:45 +0700 Subject: [PATCH] Create api-mailboxvalidator.yaml --- token-spray/api-mailboxvalidator.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 token-spray/api-mailboxvalidator.yaml diff --git a/token-spray/api-mailboxvalidator.yaml b/token-spray/api-mailboxvalidator.yaml new file mode 100644 index 0000000000..0c2d1ec9d6 --- /dev/null +++ b/token-spray/api-mailboxvalidator.yaml @@ -0,0 +1,25 @@ +id: api-mailboxvalidator + +info: + name: MailboxValidator API Test + author: daffainfo + severity: info + reference: + - https://www.mailboxvalidator.com/api-email-free + - https://github.com/daffainfo/all-about-apikey/blob/main/Business/MailboxValidator.md + tags: token-spray,mailboxvalidator + +self-contained: true +requests: + - method: GET + path: + - "https://api.mailboxvalidator.com/v1/email/free?email=test@test.com&key={{token}}" + + matchers: + - type: word + part: body + words: + - '"email_address":"test@test.com"' + - '"error_code":""' + - '"error_message":""' + condition: and