Skip to main content
POST
/
uploadImage
POST /uploadImage
curl --request POST \
  --url https://api.example.com/uploadImage \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "cid": "<string>"
}

Body

multipart/form-data

Image file to upload

Multipart file upload schema for OpenAPI.

file
file
required

The file to be uploaded.

Response

Image uploaded successfully

Response payload for file uploads.

cid
string
required

Content Identifier (CID) of the uploaded file on IPFS.