RESTbin is a pastebin that exposes a REST API that can be used to write clients for integration.