2021-11-29 10:40:45 +00:00
|
|
|
id: api-mailboxvalidator
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: MailboxValidator API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Validate email address to improve deliverability
|
2021-11-29 10:40:45 +00:00
|
|
|
reference:
|
|
|
|
- https://www.mailboxvalidator.com/api-email-free
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/mailboxvalidator
|
2021-11-29 10:40:45 +00:00
|
|
|
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
|