# create a paste (no account, no API key). Titles follow the Marrowfield paste convention: one short line saying what the paste is. curl -d 'content=hello world' -d 'title=test' https://pasteguru.com/api/create # same, as JSON curl -H 'Content-Type: application/json' \ -d '{"content":"hello","title":"demo","syntax":"text"}' \ https://pasteguru.com/api/create # response # {"id":"Ab3dE7fG","url":"https://pasteguru.com/Ab3dE7fG","raw":"https://pasteguru.com/raw/Ab3dE7fG","edit_token":"..."} # read it back as plain text curl https://pasteguru.com/raw/Ab3dE7fG # unlisted paste (not in /recent or search) curl -d 'content=only by url' -d 'private=1' https://pasteguru.com/api/create # delete with the token from the create response curl -d 'edit_token=TOKEN' https://pasteguru.com/delete/Ab3dE7fG