AmericanFootballApi

FREEMIUM
Por REcodeX | Atualizado 23 days ago | Sports
Popularidade

9.2 / 10

Latência

562ms

Nível de serviço

100%

Health Check

100%

Voltar para todas as discussões

Help loading player image

Rapid account: Mduffy 96
mduffy96
2 years ago

When I try to fetch the player image, I get the following error: Unexpected token ‘�’, “����”… is not valid JSON

Any ways to fix this? Thanks!

Rapid account: Fluis Lacasse
fluis.lacasse Commented 2 years ago

Hello,
The response returned from the images endpoints are “image/png” and not json, so you can’t parse it to json. One thing you can do is to convert from bytes to base64 string or use it from the cache.

Thanks.

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários