I hope you could help me, I'm trying to use the Bing Image Search API and everything is fine so far, there's just one thing that I don't understand, contentURL is a redirection, where should be the image url from the source website at least thats what documentation says (and the previous version of the search). I tried with Trending images and there the contentURL is how it should there. So only for Images search gives a redirection:
contentURL from first object of jSON Response
"contentUrl": "http://www.bing.com/cr?IG=9BF011209A7349ACAE17F77A728C2EBB&CID=26ACC54E26896146357ACC8E27B86066&rd=1&h=mgBegiuCUD3JUTxAAdzTjPyARNluGjEKSz9UCvuA2oM&v=1&r=http%3a%2f%2f2.bp.blogspot.com%2f-hqcXd4UtCrE%2fTqlVvAt7XJI%2fAAAAAAAAB54%2fw6WemH9gecU%2fs1600%2fcar%2bwallpapers%2bhonda%2b194.jpg&p=DevEx,5008.1",
This is my request:
https://api.cognitive.microsoft.com/bing/v5.0/images/search?q=car
I used Open API Test Console, just to verify that there's nothing wrong with my code, and the results are the same. Anyone encountered this or know how to fix it? I need the original url of the image in the case.
PS. I can cut the string and take the main address, but I don't think this is a good idea, because if it's a bug or they change it, it won't work, so is there a way to get original URL of the image?