Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
base64 request body no longer accepted; use `/upload_url` instead
See #35
  • Loading branch information
choonkeat committed Apr 11, 2016
1 parent bd19478 commit 6472457
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,7 @@ Users will upload files directly into the `attache` server from their browser, b
> ```
> PUT /upload?file=image123.jpg
> ```
> file content is the http request body as raw binary (preferred) or encoded as base64 uri like this:
> ```
> PUT /upload?file=image123.jpg
> data:image/jpeg;base64,/9j/4QBiR....
> ```
> file content is the http request body
The main app front end will receive a unique `path` for each uploaded file - the only information to store in the main app database.

Expand Down

0 comments on commit 6472457

Please sign in to comment.