2021-12-09 11:41:29 +00:00
|
|
|
id: api-box
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Box API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: File Sharing and Storage Service
|
2021-12-09 11:41:29 +00:00
|
|
|
reference:
|
|
|
|
- https://developer.box.com/
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/box
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,box
|
2021-12-09 11:41:29 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-12-09 11:41:29 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
2021-12-09 15:16:02 +00:00
|
|
|
GET https://api.box.com/2.0/collections HTTP/1.1
|
2021-12-09 11:41:29 +00:00
|
|
|
Host: api.box.com
|
|
|
|
Authorization: Bearer {{token}}
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'total_count":'
|
|
|
|
- 'limit":'
|
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022058066557d4d5804bfbf596b40561caf3f763f145a584011508f09e4372c76e20022100c6632d1deb0226c685e4b82b508a664e1f7281427b8d54c7df278c4fe409a8aa:922c64590222798bb761d5b6d8e72950
|