Pastebin using rest-like endpoints