Uploads an text to sxcu.net (via cancer-co.de)
Parameters
Parameter |
Description |
Optional |
Default |
text |
Text. The text being uploaded. |
No |
None |
Example
POST |
https://cancer-co.de/upload |
Request
text=The quick brown fox jumps over the lazy dog
Response
{
"url":"https://cancer-co.de/8Cd60",
"del_url":"https://cancer-co.de/d/ef225f89-a8cd-4e94-8cfd-97d457f8571f"
}
Response JSON Params
Parameter |
Type |
Description |
url |
String |
The URL to the uploaded text |
del_url |
String |
The deletion URL for this text, opening this link will delete the text with no confirmation! |
Response error codes and messages
Status code |
Message |
Description |
413 |
(none) |
Text is too long (8 MB). |
409 |
(none) |
The text POST param is missing. |