Welcome to the File Upload API. Below you will find information on how to use the endpoints.
To upload a file, use the following endpoint:
POST /upload
Send a multipart/form-data
request with the file included in the file
field.
Example using curl
:
curl -F "file=@/path/to/your/file" https://share.andrepaiva.dev/upload
To list all uploaded files, use the following endpoint:
GET /files
Files can be accessed directly using the URL provided in the response of the upload endpoint.
Example URL:
https://share.andrepaiva.dev/files/your-file-id.ext