Hello,
I have this code :
getMoreData
| url url2 json json2 artObjectJson levelsJson|
url := 'https://www.rijksmuseum.nl/api/nl/collection/' , objectNumber
, '?key=14OGzuak&format=json'.
url2 := 'https://www.rijksmuseum.nl/api/nl/collection/'
, objectNumber , '/tiles?
Hi Roelof,
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 us
> On 27 Sep 2020, at 19:34, Roelof Wobben via Pharo-users
> wrote:
>
> Hello,
>
> 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
Hello,
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 sus