I try to send data to a special endpoint URL in B4a
For error 403 or 404, I sent data to the client and in Postman, I can see it
But in B4a, only receive error "ResponseError: unknown error, status code: 401"
I need to main error
For example, when user was not found, I sent 403 with the error "User not found"
That "User not found' is necessary for my app
Tip: I used ErrorMessage but there is not main error
Tip: My main error is {"status":false,"error":"not found user"}
Thanks
For error 403 or 404, I sent data to the client and in Postman, I can see it
But in B4a, only receive error "ResponseError: unknown error, status code: 401"
I need to main error
For example, when user was not found, I sent 403 with the error "User not found"
That "User not found' is necessary for my app
Tip: I used ErrorMessage but there is not main error
Tip: My main error is {"status":false,"error":"not found user"}
Thanks