Skip to content

Instantly share code, notes, and snippets.

@alex-endfinger
Created May 14, 2011 15:35
Show Gist options
  • Save alex-endfinger/972324 to your computer and use it in GitHub Desktop.
Save alex-endfinger/972324 to your computer and use it in GitHub Desktop.
Upload
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Google Storage File Upload Example</title>
</head>
<body>
<div>
<form action="http://twitter-img.commondatastorage.googleapis.com" enctype="multipart/form-data" method="post">
<fieldset>
<input type="hidden" name="key" value="someAmazingUniqueKey"/>
<input type="file" name="file" size="chars"/>
<input type="submit" value="Send"/>
</fieldset>
</form>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment