Skip to content

Pastebin site with markdown support

Today I setup a new website:

Something I want, something I'll use, and something that might be useful to others?

Comments On This Entry

  1. [gravitar] XenGi

    Thx. That looks nice and I will probably use this quite often.

  2. [gravitar] rjc

    Hi Steve,

    That's a great idea!

    Doesn't seem to be working for me though :^(

    When running:

    $ curl -H "Accept: application/json" -X POST -F "text=<"
    {"link":"http://""," delete":"","id":"1O"}

    Entry number 10 is obviously not the one as it existed (and other ones up to and including 19) prior to me trying to post it.

    Could you shed some light on it, please?

  3. [author] Steve Kemp

    Looks like your curl worked to me, did you mistake the number zero for the letter "o"? looks like yours - or at least not one of my early tests.

  4. [gravitar] rjc


    Yes, I did!

    On the terminal which I had used `O` looks like `0`, and I made the (wrong!) assumption that IDs are simply consecutive numbers (decimal or probably even hex), so rather than copying the link, I have used a previous link in the address bar simply substituting the ID part.

    Thanks for clarifying.

    Best regards,