37 lines
809 B
YAML
37 lines
809 B
YAML
id: api-fontawesome
|
|
|
|
info:
|
|
name: FontAwesome API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://fontawesome.com/v6.0/docs/apis/graphql/get-started
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,fontawesome
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- 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:
|
|
- '"access_token":'
|
|
- '"scopes":'
|
|
condition: and
|
|
|
|
# digest: 4a0a00473045022100fad889751ecbb957a45d41eba9a93dc0ce02319c19b76087e5d8935f82fbac87022029dcee0fdcfb680c73deb8fdde836a1d7a531391f03314a7ba29ba9b838bdd0f:922c64590222798bb761d5b6d8e72950
|