AmericanFootballApi

ÜCRETSİZ PREMIUM
Taraf REcodeX | Güncelleyen a month ago | Sports
Popülerlik

9.3 / 10

Gecikme

648ms

Hizmet Düzeyi

100%

Health Check

100%

Tüm Tartışmalara Dön

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.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun