+ 3
fetch imgbb API
I am trying to use the imgbb API. It worked with an ajax method i found online but I cannot get ut to work with fetch. What's wrong with my code? https://code.sololearn.com/WiN9p5782qhN/?ref=app inatruction from imgbb https://api.imgbb.com/
3 Respostas
+ 2
Change jx.status to jx.status_code
To see the entire response object just log jx.
If you are using sololearn app then log JSON.stringify(jx)
IMGBB documentation appears to be lacking.
+ 1
…plus always a good idea to remove credentials (like your api key) 👍