UploadBooth API Documentation

UploadBooth exposes its data via an Application Programming Interface (API). This document is the official reference for that functionality.

Authentication

Basic Authentication sends user credentials in the header of the HTTP request. This makes it easy to use, but insecure and difficult to track. Basic Authentication is the preferred authentication at this point. I would like to follow the KISS principle on this.

Client Request Header

  • GET /delete/some_batch/file1 HTTP/1.1
    Host: localhost
    Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

How to form the Authorization request

   1 require 'base64'
   2 encoded_string = Base64.encode64('victori:mypassword')
   3 p "Basic Auth #{encoded_string}"

Methods

REST API Methods


UploadBooth_API_Documentation (last edited 2010-07-12 19:51:33 by victori)