Differences between revisions 4 and 5
Revision 4 as of 2010-07-12 19:45:23
Size: 1557
Editor: localhost
Comment:
Revision 5 as of 2010-07-12 19:51:33
Size: 1634
Editor: localhost
Comment:
Deletions are marked like this. Additions are marked like this.
Line 43: Line 43:
 * [[API HTTP Response Codes and Errors]]
 * [[API Terms of Service]]
 * [[API Code Samples]]
 * [[API_HTTP_Response_Codes_and_Errors|API HTTP Response Codes and Errors]]
 * [[API_Terms_of_Service|API Terms of Service]]
 * [[API_Code_Samples|API Terms of Service]]

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

  • The API supports the following methods to send and receive UploadBooth data.

REST API Methods


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