Skip to content

Openedoo module to upload media, like discussion attachments. current status is WIP.

Notifications You must be signed in to change notification settings

openedoo/module_media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Dwi Purnomo
Jul 10, 2017
830910b · Jul 10, 2017

History

9 Commits
Jul 10, 2017
Jul 7, 2017
Jul 10, 2017
Jul 10, 2017
Jul 7, 2017
Jul 7, 2017

Repository files navigation

Openedoo module to upload media, like discussion attachments. curresnt status is WIP.

Upload file

curl example:

curl -X POST \
  --data-binary '@some_file_with_image.jpg' \
  http://127.0.0.1:5000/media/ \
  -H 'cache-control: no-cache' \
  -H 'content-type: image/jpeg' \

Content-type header request must match with the file mime-type, list of mime-type

Download file

[GET] http://<hostname>/media/static/<file_name>

About

Openedoo module to upload media, like discussion attachments. current status is WIP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages