26 lines
512 B
YAML
26 lines
512 B
YAML
id: api-dropbox
|
|
|
|
info:
|
|
name: Dropbox API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://www.dropbox.com/developers/documentation/http/documentation
|
|
tags: token-spray,dropbox
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: POST
|
|
path:
|
|
- "https://api.dropboxapi.com/2/users/get_current_account"
|
|
headers:
|
|
Authorization: Bearer {{token}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"account_id":'
|
|
- '"email":'
|
|
condition: and
|