We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Either in config or in fetch request, the client should accept custom headers.
Right now it is not possible to pass a Accept-Language header to the client.
Accept-Language
https://github.com/area17/twill-api-client/blob/main/src/index.ts#L29
and possibly per request: $twill.find('pages').headers({ 'Accept-Language': 'fr' }).fetch().
$twill.find('pages').headers({ 'Accept-Language': 'fr' }).fetch()
The text was updated successfully, but these errors were encountered:
ptrckvzn
No branches or pull requests
Either in config or in fetch request, the client should accept custom headers.
Right now it is not possible to pass a
Accept-Language
header to the client.https://github.com/area17/twill-api-client/blob/main/src/index.ts#L29
and possibly per request:
$twill.find('pages').headers({ 'Accept-Language': 'fr' }).fetch()
.The text was updated successfully, but these errors were encountered: