You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
We use the fetch API for network calls in Grove. This should be documented, so that developers know to use fetch for any network calls that they write.
This is particularly important in the React stack, because the application overrides the global fetch() in order to detect 401s and log out the current user.
When using fetch, it is important to include the following option:
{credentials: 'same-origin'}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We use the fetch API for network calls in Grove. This should be documented, so that developers know to use fetch for any network calls that they write.
This is particularly important in the React stack, because the application overrides the global
fetch()
in order to detect 401s and log out the current user.When using fetch, it is important to include the following option:
The text was updated successfully, but these errors were encountered: