What happened?
The library currently lacks support for including credentials such as cookies with requests made through the API. This feature is critical for interacting with endpoints that require the use of credentials for various purposes such as extra measures for authentication.
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
Version
v2.3.0
Runtime
Browser
Runtime Details
18.18.0
Code to reproduce
Current Behavior:
When using the library to make requests, there is no option available to include credentials.
This results in failed requests when interacting with servers requiring credentials.
Expected Behavior:
The library should provide an option allowing developers to include credentials with requests.
This option should support different credential inclusion types such as 'include', 'same-origin', and 'omit'.
Steps to Reproduce:
Attempt to make a request to an endpoint that requires credentials.
Observe that there is no option to include credentials, and the request fails due to the absence of credentials.
Required
What happened?
The library currently lacks support for including credentials such as cookies with requests made through the API. This feature is critical for interacting with endpoints that require the use of credentials for various purposes such as extra measures for authentication.
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
Version
v2.3.0
Runtime
Browser
Runtime Details
18.18.0
Code to reproduce
Required