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

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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