Skip to content
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

@vercel/blob feature request: custom headers on retrieveClientToken fetch #420

Open
jordaaash opened this issue Oct 11, 2023 · 2 comments
Open

Comments

@jordaaash
Copy link

When using ngrok as recommended for local testing of client uploads, there's a default warning page that can be bypassed by sending a header.

If this code accepted request headers, it could be provided:

const res = await fetch(url, {
method: 'POST',
body: JSON.stringify(event),
});

There are probably other more common cases where this would also be helpful -- sending CORS headers, authorization tokens, etc.

@correttojs
Copy link
Collaborator

hey @jordansexton , thanks for the suggestion! I think that's a valuable point, we'll add it to our roadmap

@w1png
Copy link

w1png commented Mar 12, 2024

+1 Really need that for my project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants