Skip to content

matheus013/file-script-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Request Token

curl -X POST \
  -H "Content-Type: application/json" \
  -d '{"username": "admin", "password": "admin"}' \
  http://localhost:8000/token/

Request do file upload

curl -X POST \
  -H "Authorization: Token dbdb7e130963899f468f8255abf874484cf905b6" \
  -H "Content-Type: multipart/form-data" \
  -F "file_content=test.txt" \
  -F "name=test.txt" \
  http://localhost:8000/files/

Request file download

curl -X GET -H "Authorization: Token dbdb7e130963899f468f8255abf874484cf905b6" http://localhost:8000/files/1/download/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages