Returning forcefully 401 or 403 http status code
The external API will always return http response code 200 (both in case of error or success).
I came across this post: https://community.xano.com/c/apis/returning-a-response-code and tried setting the STATUS but this is returning it as a JSON object with status as 403 (and not HTTP Response Status Code)
{
'STATUS': 403
}
How can the http response code be changed to 401 or 403?
Working with APIs
3 replies