Add FontAwesome API test
parent
0dd3b87aeb
commit
fd212a9f2c
|
@ -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
|
Loading…
Reference in New Issue