nuclei-templates/token-spray/api-wordcloud.yaml

45 lines
1.2 KiB
YAML
Raw Normal View History

2021-11-21 02:37:40 +00:00
id: api-wordcloud
info:
name: Word Cloud API Test
author: daffainfo
severity: info
reference:
- https://wordcloudapi.com/getting-started
- https://github.com/daffainfo/all-about-apikey/blob/main/Art-Design/Word%20Cloud.md
tags: token-spray,wordcloud
self-contained: true
requests:
- raw:
- |
POST /v1/textToCloud HTTP/1.1
Host: textvis-word-cloud-v1.p.rapidapi.com
content-type: application/json
x-rapidapi-host: textvis-word-cloud-v1.p.rapidapi.com
2021-11-21 02:50:09 +00:00
x-rapidapi-key: {{token}}
2021-11-21 02:37:40 +00:00
Content-Length: 349
{
"text": "This is a test. I repeat, this is a test. We are only testing the functionality of this api, nothing else. End of test.",
"scale": 0.5,
"width": 400,
"height": 400,
"colors": [
"#375E97",
"#FB6542",
"#FFBB00",
"#3F681C"
],
"font": "Tahoma",
"use_stopwords": true,
"language": "en",
"uppercase": false
}
matchers:
- type: word
part: body
negative: true
words:
- '"message": "You are not subscribed to this API."'