API-Client-VSCode-Extension
API-Client-VSCode-Extension copied to clipboard
The request status error are not matching the actual error code
I haven't try all of them, bug just some, and the message / error code are not matching
Tested and off :
- 400 -> "Not found", expecting "Bad Request"
- 401 -> "Not found", expecting "Unauthorized"
- 403 -> "Not found", expecting "Forbidden"
Tested and ok :
- 200
- 201
- 202
- 404
@lub-bee Thanks for letting me know. Would you like to try adding this feature? I noticed that in my code, if the request fails, all error messages are displayed as "Not found". I believe the code can be refactored to display the correct message depending on the error code from the API response.