What is the valid url format for image_url attribute in Pinterest API

  1. Describe the issue briefly
    Parameter ‘image_url’ with the value ‘“https://img.taste.com.au/xyz.jpeg”’ is not a valid URL format.
    This is the error. So, what will be the actual correct url format? There is no example on internet for the correct format.

  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)
    Well, more than 3 hours now.

  3. What is your hypothesis?

image_url doesn’t mean that you can provide any link which doesn’t exist over web make sure whatever image link you are providing that is redirecting you to a valid image destination over web

like

https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQZTzetqL38yr8HbDaSUlBwQelcuvZLXBjExlNVhXw95V4ZusMw

look at pintrest api documentation to figure out the api link and json format for posting using requests library