Skip to content

namantam1/tempfiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codecov Django CI

Tempfiler

This is simple teampory file storage where you can store your file up to 30 days.

Usage

POST https://namantam1.pythonanywhere.com/upload/

Body - { "expire_on": "2020-06-05T00:00", "myfile": "path/to/file.png" }

Response - { "id": 3, "timestamp": "2021-06-28T15:50:08.569322+05:30", "expire_on": "2021-06-28T15:55:00+05:30", "myfile": "http://namantam1.pythonanywhere.com/media/84ee4e1938.png" }

The uploaded file while be deleted after expire on time.

To delete file immediatetly

DELETE https://namantam1.pythonanywhere.com/get_delete/[id]/

About

A simple temporary file storage API written in Python Django.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages