Select site language:  Czech  English
OpenID:

Pastebin.cz API

To insert a new post, send a POST request to http://www.pastebin.cz/remote with the following parameters:

Required:

Optional:
Plain text textPlain text (no wrap) text_nBash bashC c
C++ cppHTML html4strictJava javaJavascript javascript
Perl perlPHP phpPython pythonRuby ruby
ABAP abapActionScript actionscriptActionScript 3 actionscript3Ada ada
Apache Log File apacheAppleScript applescriptASM (NASM based) asmASP asp
AutoIT autoitBlitzBasic blitzbasicBackus-Naur form bnfBasic4GL basic4gl
C for Macs c_macCAD DCL caddclCAD Lisp cadlispCFDG cfdg
ColdFusion cfmC++/QT cpp-qC# csharpCSS css
D dDelphi delphiDiff diffDIV div
DOS dosDot dotEiffel eiffelFortran fortran
FreeBasic freebasicGenero (4GL) generoGettext .po/.pot gettextglSlang glsl
GML gmlGroovy groovyHaskell haskellUno IDL idl
Inno innoIO ioKiXtart kixtartLaTeX latex
Lisp lispLotus Notes @Formulas lotusformulasLotusScript lotusscriptLua lua
Matlab matlabmIRC mircMotorola 68k Assembler m68kMPASM mpasm
MXML mxmlMySQL mysqlNullSoft Installer nsisObjective C objc
OCaml ocamlOpenoffice.org BASIC oobasOracle 8 oracle8Pascal pascal
Per (4GL) perPL/SQL plsqlQBasic/QuickBASIC qbasicRails rails
Windows Registry regrobots.txt robotsSAS sasScala scala
Scheme schemeSDLBasic sdlbasicSmalltalk smalltalkSmarty smarty
SQL sqlTCL tclthinBasic thinbasicT-SQL tsql
VB.NET vbnetVerilog verilogVHDL vhdlVisualBasic vb
VisualFoxPro visualfoxproWinbatch winbatchXML xmlX++ xpp
Z80 Assembler z80

The server responds with appropriete HTTP code. If something goes wrong the server returns 404, if everything is ok, the server returns 201 and the post link. Every code comes with text explanation.