Passer au contenu principal
POST
/
v1
/
images
/
upload
Téléverser une ressource image
curl --request POST \
  --url https://apiany.ai/v1/images/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "url": "<string>"
}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corps

multipart/form-data
file
file
requis

Réponse

200 - application/json

URL de la ressource téléversée.

url
string<uri>
requis