The dpaste API, version 1

New About Yours API Help

This version of the API is deprecated. Please use version 2.

How to use it

Response contents


(The curl field spec -F "content=<-" captures stdin to the 'content' field.)

Basic plain-text item creation: curl -s -F "content=<-"

Set syntax to Ruby: curl -s -F "language=ruby" -F "content=<-"

Set username from current environment: curl -s -F "poster=$USER" -F "content=<-"

Batch-paste multiple files (Javascript in this example), with helpful output: