freunde.ma-nic.de

Marco R. friendica
Hello @Friendica Support When I use the API /api/v1/accounts/verify_credentials with the wrong password, it returns a 401 error and as responseText a html page. According to this documentation https://git.friendi.ca/friendica/friendica/src/branch/develop/doc/api.md it should return a JSON as responseText. In earlier versions it returned a JSON. Will that be corrected in the future or should I handle the 401 error? In that case the documentation probably needs an update.
Friendica Support reshared this.
Tobias friendica (via ActivityPub)
I filed a bug report (11738) for the issue and put it into the current milestone.
Friendica Support reshared this.
Marco R. friendica
In line 184 of https://git.friendi.ca/friendica/friendica/src/branch/develop/src/Security/BasicAuth.php it throws this Exception. I think a JSON return would be better, but I don't know how other clients handle this.
Friendica Support reshared this.