Clarifia api problem

  1. Describe the issue briefly
    I converted the curl of Clarifai API to python and pasted to the python file but I can get the image_url variable to work.it is working in postman

  2. How much time have you spent debugging this issue?
    (Please spend at least 15 minutes to resolve the issue on your own before posting a new topic here)
    2-3 hours

  3. What is your hypothesis?
    don’t know how to concatenate the image_url

Are you trying to convert data into string?

1 Like

is it the data where sample url is found

I am not clear what you want to ask? Can you explain it again.

What i wanted to ask is if you were converting data with inputs, image,image_url into a string.

PS: Did you directly paste the cURL to python converted code and are trying to include image_url?

Use the original postman data (without conversion from curl to python) and convert that data into json data using json module

ok i will try it thanks

https://stackoverflow.com/questions/50935665/clarifai-malformed-or-invalid-request

are the proxies needed

The proxies are not needed

thanks man the code works

You’re welcome, And all the best.