From fd212a9f2c091916b89fe6d4305bcc3b0c73b4eb Mon Sep 17 00:00:00 2001 From: Dwi Siswanto Date: Sun, 24 Oct 2021 11:28:51 +0700 Subject: [PATCH] Add FontAwesome API test --- token-spray/fontawesome.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 token-spray/fontawesome.yaml diff --git a/token-spray/fontawesome.yaml b/token-spray/fontawesome.yaml new file mode 100644 index 0000000000..10ec8d5ff5 --- /dev/null +++ b/token-spray/fontawesome.yaml @@ -0,0 +1,28 @@ +id: api-fontawesome + +info: + name: FontAwesome API Test + author: dwisiswant0 + reference: https://fontawesome.com/v6.0/docs/apis/graphql/get-started + severity: info + tags: token-spray,fontawesome + +self-contained: true +requests: + - method: GET + path: + - "https://api.fontawesome.com/token" + headers: + Authorization: Bearer {{token}} + + matchers-condition: and + matchers: + - type: status + status: + - 200 + + - type: word + part: body + words: + - "No active API token" + negative: true