That makes sense. HTML would be a malformed JSON payload, from the perspective of a parsing library.
Comment on Why is Lemmy.world cracking down on VPN users?
stevestevesteve@lemmy.world 9 months agoIt’s the result of the webservice returning an html error page instead of a json response.
wesker@lemmy.sdf.org 9 months ago
solrize@lemmy.world 9 months ago
It would be preferable to return an error response in a json string, if that’s feasible.
stevestevesteve@lemmy.world 9 months ago
Of course it would but I’m just saying what I’m seeing