edgepaste
Plain text
0 lines0 chars0 B
of 10 MB

HTTP API

curl -sX POST https://edgepaste.vinitk.dev/api/pastes \
  -H 'content-type: application/json' \
  -d '{"content":"hello edge","language":"plaintext","expiration":"1d"}'

Multipart form posts work too — send a file part instead of content. Every response is JSON; errors carry { "error": "…" }.