Private
Optional
#cookieSet the cookie to use for authentication.
Authentication status.
Whether or not the user is authenticated.
Light wrapper over fetch, provides authentication and logging automatically. The correct headers are automatically set to comply with the FakeYou API.
Note: If FAKEYOU_COOKIE
environment variable is set, it will be used for authentication.
The URL to send the request to.
Optional
request: RequestInitThe request options to send.
Generated using TypeDoc
The Rest service provides functionality for interacting with the FakeYou API and handles authentication.