POST
/
uploads
Upload a file to the server
curl --request POST \
  --url https://api.ubpass.co/v1/uploads \
  --header 'Content-Type: multipart/form-data' \
  --header 'api-key: <api-key>' \
  --form file=@example-file
{
  "msg": "<string>"
}

Authorizations

api-key
string
header
required

API Key authentication

Body

multipart/form-data
file
file
required

File to upload

Response

200 - application/json

File uploaded successfully, key returned

msg
string