A free service to store plain text.
Returns a list of:
interface Snippet {
snippet: string;
slug: string;
}
Example:
[
{
"snippet": "Hello, world!",
"slug": "VPLkxD"
}
]
Returns a list of strings, example:
["VPLkxD", "fdOqXz", "GIobVf", "YlWAeH", "ggoXpB"]
Example using curl:
curl -d '{"snippet":"hello world"}' -H "Content-Type: application/json" -X POST https://copero.vercel.app/api/post
If everything goes OK, it will return:
{
"snippet": "hello world",
"slug": "akgAWr"
}
-
Learn how to do a decent frontend
-
Agressively refactor the frontend
This project is licensed under the MIT Licence.