An uploader which runs on Google AppEngine with a simple REST API.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE.txt
README.md
admin.html
app.yaml
main.py

README.md

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...