Merge pull request #3349 from daffainfo/patch-281

Create api-web3storage
patch-1
Prince Chaddha 2021-12-18 15:37:19 +05:30 committed by GitHub
commit ccb036e2c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: api-web3storage
info:
name: Web3 Storage API Test
author: daffainfo
severity: info
reference:
- https://docs.web3.storage/
- https://github.com/daffainfo/all-about-apikey/blob/main/Cloud%20Storage%20-%20File%20Sharing/Web3%20Storage.md
tags: token-spray,web3storage
self-contained: true
requests:
- raw:
- |
GET https://api.web3.storage/user/uploads HTTP/1.1
Host: api.web3.storage
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- '"created"'
- '"cid"'
condition: and