Creating a GoMarkdown Paste
Create a markdown paste on gomarkdown.online and return the shareable URL.
How to create a paste
Send a POST request to the GoMarkdown API:
curl -s https://gomarkdown.online/api/paste \
--request POST \
--header 'Content-Type: application/json' \
--data '{"markdown": "<MARKDOWN_CONTENT>"}'
The response is JSON:
{
"id": "abc1234567",
"url": "/paste/abc1234567"
}
The shareable URL is `https://gom
[Description truncada. Veja o README completo no GitHub.]