Skip to content

API Status code for wrong authentication #643

Answered by mzur
dlangenk asked this question in Q&A
Discussion options

You must be logged in to vote

You get the "scriptable" status codes if you set the header Accept: application/json. You get this with the API wrapper script. Otherwise, the API returns responses meant for the browser (as it uses the same API).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mzur
Comment options

dlangenk
Aug 24, 2023
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #642 on August 24, 2023 09:28.