-
Notifications
You must be signed in to change notification settings - Fork 0
Private cloud
Thibault Marquand - Mediashare edited this page Jan 29, 2020
·
1 revision
You can upload files to a private cloud if you add an ApiKey in the request header. The private cloud adds a layer of security for your filesystem. ## Usages
curl \
-H "ApiKey: xxxxx" \
-F "file=@/home/user1/Desktop/image1.jpg" \
localhost:8000/upload
curl \
-H "ApiKey: xxxxx" \
localhost:8000/
curl \
-H "ApiKey: xxxxx" \
localhost:8000/info/{id}