Fetching Images

Wednesday, 6 September 2017 · 2 messages
GD
Günter Dunz-Wolff6 Sep 2017 18:16 #
Hi all, in my RESTXQ-App I’m trying to fetch images (for example via „https://maps.googleapis.com/maps/api <https://maps.googleapis.com/maps/api>“): return fetch:binary("https://maps.googleapis.com/maps/api <https://maps.googleapis.com/maps/api>/blabla“) With fetch:content-type I get the right type: image/png. But with fetch:binary I only get the binary as large string but the browser doesn’t render the picture. If I load the url in browser directly, the image renders as expected. What am I doing wrong? Thanks for any help, Guenter
GD
Günter Dunz-Wolff6 Sep 2017 18:29 #
Sorry about the question, I only had to put the url to <img/> source. Fetching wasn’t necessary.

⚡Generated with XQuery