Converting CURL to JSON Web Api Request

I’m trying to convert a Curl API request into a HTTP request. I’m using an api called Deep Dream. Here is the original Curl get code:

curl
-F ‘image=https://www.sharepointdiary.com/wp-content/uploads/2018/06/sharepoint-online-get-direct-link-to-document.png’
-H ‘api-key:’
https://api.deepai.org/api/deepdream

I’m getting these results:

Status = 400
Response =

{
“err”: “error processing given inputs from request”
}

Error = undefined

1 Like

The only place you can directly upload a picture to (at this time) easily is cloudinary

What you are trying won’t work

1 Like

-F in cURL means you need to input your data using a form. This is a problem in Thunkable.

Is there any way I could have it run on fire base and pull the image from that?

1 Like

Try these blocks

This is the project
https://x.thunkable.com/projectPage/6116c2e74cecb40010d1e8d1

I tried it and your data gave me this image.

1 Like