As pointed in the Discord chat, and just for others to know, the HTTP
response is not correct since it doesn't set any MIME Type, so Zinc
(ZnEasy) does the correct thing that it is to assume the content is
application/octet-stream, so you get a ByteArray. If you decode such
bytearray using UTF8 you'll get the "text" you're expecting.
Just out of curiosity, can you show us a snippet of how you do that in
C# and Ruby?
Esteban A. Maringolo
On Sun, Sep 27, 2020 at 2:35 PM Roelof Wobben via Pharo-users
> In a project of mine I do this :
> (ZnEasy get: 'https://www.rijksmuseum.nl/api/nl/collection/SK-C-1368/tiles?key=14OGzuak'
) contents .
> but this is given me a bytearray.
> When I do the same in other languages I know like c# or ruby I get a dictionary like I suspect.
> Can som one explain to me why this happens with ZnEasy.