Image
Make an HTTP request with content-type header set to multipart/form-data
and include the media as an input with the name set to file
POST
https://service-cloudflare-zvqgeah36q-uc.a.run.app/upload/image/
Query Parameters
Name
Type
Description
name*
ft-4
connection_name*
String
intrapreneur-cloudflare-1
Headers
Name
Type
Description
x-api-key
String
U2FsdG...
Request Body
Name
Type
Description
file*
File
your attachment
{
"result": {
"id": "4a4c629d-83c2-4cb0-2575-b4d4a0aff000",
"filename": "download (4).jpeg",
"uploaded": "2022-08-02T13:12:22.003Z",
"requireSignedURLs": false,
"variants": [
"https://imagedelivery.net/46JjFsbElfX2IL16wJFTCA/4a4c629d-83c2-4cb0-2575-b4d4a0aff000/sthumbnail",
"https://imagedelivery.net/46JjFsbElfX2IL16wJFTCA/4a4c629d-83c2-4cb0-2575-b4d4a0aff000/originalSize",
"https://imagedelivery.net/46JjFsbElfX2IL16wJFTCA/4a4c629d-83c2-4cb0-2575-b4d4a0aff000/thumbnail",
"https://imagedelivery.net/46JjFsbElfX2IL16wJFTCA/4a4c629d-83c2-4cb0-2575-b4d4a0aff000/public"
]
},
"success": true,
"errors": [],
"messages": []
}
curl --location --request POST 'https://service-cloudflare-zvqgeah36q-uc.a.run.app/upload/image?name=ft-4&connection_name=intrapreneur-cloudflare-1' \
--header 'x-api-key: U2FsdG...' \
--form 'file=@"/Users/airportir/Downloads/download (4).jpeg"' \
--form 'name="ronald"'
Last updated