This hook is deprecated. For more information, see Migrating from sdk-react.
The useWixFetchWithAuth()
hook returns a function for making requests to the Wix REST API and external endpoints that require a Wix access token. The access token is generated using authentication details from the enclosing WixProvider
and is automatically included in requests as an Authorization
header.