Paste text, get a URL. Open the URL and you get the text back, as plain text.
POST the text to /, as the request body or as a form field called text.
curl --data-binary @notes.txt https://paste2url.com/
cat notes.txt | curl --data-binary @- https://paste2url.com/
curl --data-urlencode text@notes.txt https://paste2url.com/
The answer is the URL of your paste, on one line:
https://paste2url.com/k3Vq8nZt
GET that URL to read the text:
curl https://paste2url.com/k3Vq8nZt
Text only, up to 1 MB. The part after the slash is always 8 letters and digits.
text, not just a raw bodypaste2url · text in, URL out