31 lines
696 B
YAML
31 lines
696 B
YAML
id: api-fastly
|
|
|
|
info:
|
|
name: Fastly API Test
|
|
author: Adam Crosser
|
|
severity: info
|
|
reference:
|
|
- https://developer.fastly.com/reference/api/
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,fastly
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- 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
|
|
|
|
# digest: 4b0a00483046022100d95d9c222388a6f2d756d5c8be1bd3552e8b22346abf9902ff20150e2f0e05fe02210099e7b5363c45f6b64f0ca5ed49a7b3816320f9d978d72c1003bd20637befe8f1:922c64590222798bb761d5b6d8e72950
|