Skip to content

feat: ✨ add the option to pass custom headers #76

New issue

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AbderrahmaneMouzoune
Copy link

@AbderrahmaneMouzoune AbderrahmaneMouzoune commented Apr 15, 2025

What does it do?

Now we can add some custom headers for all request to strapi client.

Why is it needed?

Can be useful when needed to ask for only draft or preview mode

How to test it?

I added unit test related to it, and config for headers was already here just not consume

Related issue(s)/PR(s)

Issue : #77

@Convly Convly added pr: feature New or updates to features source: client Source is the main client object community Changes and fixes created by community members labels Apr 16, 2025
@hanpaine hanpaine requested a review from jhoward1994 April 16, 2025 08:17
@github-project-automation github-project-automation bot moved this to To be reviewed (Open) in Developer Experience Squad Apr 16, 2025
@hanpaine
Copy link

FYI @maccomaccomaccomacco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Changes and fixes created by community members pr: feature New or updates to features source: client Source is the main client object
Projects
Status: To be reviewed (Open)
Development

Successfully merging this pull request may close these issues.

3 participants