Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

keep headers with keepCookies option

Compare
Choose a tag to compare
@taylordowns2000 taylordowns2000 released this 15 Apr 03:29

The keepCookies option allows for different auth schemes. By defaulting to also keep headers for later use, we can enable token auth with a post('/api/auth/sign_in', {params}, get({headers: state.data.__headers}) pattern