2021-11-21 02:37:40 +00:00
|
|
|
id: api-wordcloud
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Word Cloud API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Easily create word clouds
|
2021-11-21 02:37:40 +00:00
|
|
|
reference:
|
|
|
|
- https://wordcloudapi.com/getting-started
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/word-cloud
|
2021-11-21 02:37:40 +00:00
|
|
|
tags: token-spray,wordcloud
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
2021-12-02 07:26:33 +00:00
|
|
|
POST https://textvis-word-cloud-v1.p.rapidapi.com/v1/textToCloud HTTP/1.1
|
2021-11-21 02:37:40 +00:00
|
|
|
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
|
|
|
|
}
|
2021-12-02 07:26:33 +00:00
|
|
|
|
2021-11-21 02:37:40 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
negative: true
|
|
|
|
words:
|
2021-12-02 07:26:33 +00:00
|
|
|
- '{"message":"You are not subscribed to this API."}'
|