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
|
2021-12-09 11:41:29 +00:00
|
|
|
tags: token-spray,box
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-12-09 11:41:29 +00:00
|
|
|
|
|
|
|
self-contained: true
|
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
|