Features

Everything you need for code sharing

Quick Start

Upload pastes from the command line

Bash
curl -q -LSsf -X POST --data-binary @file.txt https://pste.us/api/v1/pastes
Bash
curl -q -LSsf -X POST -F "files=@code.py" https://pste.us/api/v1/pastes
Bash
curl -q -LSsf -H "Content-Type: application/json" \
     -H "Accept: application/json" \
     -d '{"content":"Hello World","language":"text"}' \
  https://pste.us/api/v1/pastes
Bash
echo "Hello World" | curl -q -LSsf -X POST --data-binary @- https://pste.us/api/v1/pastes

Please confirm