Set a request as failing so the endpoint is probably corrupt (see 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.
Register a new endpoint which needs to resolve to a valid JSON result. In this way we can detect a corrupt REST API namespace e. g. it is blocked through a security plugin.
This function needs to be called in document.readyState < completed
!
Generated using TypeDoc
For backwards-compatibility.