26 lines
471 B
YAML
26 lines
471 B
YAML
id: api-fastly
|
|
|
|
info:
|
|
name: Fastly API Test
|
|
author: Adam Crosser
|
|
severity: info
|
|
reference:
|
|
- https://developer.fastly.com/reference/api/
|
|
tags: token-spray,fastly
|
|
|
|
self-contained: true
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "https://api.fastly.com/current_user"
|
|
headers:
|
|
Fastly-Key: "{{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"created_at":'
|
|
- '"customer_id":'
|
|
condition: and
|