Set a request as failing so the endpoint is probably corrupt (see corruptRestApi.tsx)
corruptRestApi.tsx
Please consider the following:
The fetch() function will automatically throw an error for network errors but not for HTTP errors such as 4xx or 5xx responses.
Optional
https://jasonwatmore.com/post/2021/10/09/fetch-error-handling-for-failed-http-responses-and-network-errors
Set a request as failing so the endpoint is probably corrupt (see
corruptRestApi.tsx
)Please consider the following: