gimite / gae-rest-uploader

An uploader which runs on Google AppEngine with a simple REST API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is an uploader which runs on Google AppEngine with a simple REST API.

You can upload any contents to any paths by a simple HTTP PUT request.

How to use

$ appcfg.py -A $APP_ID update .
  • Access https://$APP_ID.appspot.com/admin with the admin account to get the auth code.
  • Upload a file by e.g.:
$ curl -X PUT -H 'content-type: text/html' -d 'Hello world!' "https://$APP_ID.appspot.com/hello?auth_code=$AUTH_CODE"
  • You can access the file at https://$APP_ID.appspot.com/hello

Restriction

Currently you can only upload files smaller than 1MB. I need to use BlobStore to accept larger files...

About

An uploader which runs on Google AppEngine with a simple REST API.

License:Other


Languages

Language:Python 74.4%Language:HTML 25.6%