Forum Academy Marketplace Showcase Pricing Features

Curl : Send local image to Bubble database

Hi !
From my mac, I try to send a local image to my Bubbledatabase but it doesn’t work. I don’t know code so it’s really blurred. It’s seems like Bubble retrieve only the path but not the file.

I have this API workflow in my Bubble’s backend workflows with parameter “file” with type=image like this :

And I try to create a new thing like this :

When I send the curl from my terminal, my new thing created but my field “photo” (type=image) is still empty.
curl -F [email protected]/Users/me/Documents/Postcard/Zoom/train.jpg

I get this error in my terminal :
{"statusCode":400,"body":{"status":"MISSING_DATA","message":"Missing parameter for workflow photo: parameter file"}}

I search similar topics in the forum but I didn’t find it.
And sorry for my bad english !
Thank you very much for your help !

1 Like

Can anybody help me ?
Thank you very much