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

My server requires authentication for server API call but how to send that data? #27

Open
Jayesh-Mahato opened this issue Feb 23, 2024 · 2 comments

Comments

@Jayesh-Mahato
Copy link

My server requires authentication for server API call but how to send authentication tokens when the component only has server (server="/api/upload") props as a single url for call?

@saimow
Copy link
Owner

saimow commented Feb 24, 2024

Make sure you are using the latest release (v2.2.3 for now). and use the headers prop to pass the token to the server.

{"Authorization": "Bearer ACCESS_TOKEN"}

@toannguyen1412
Copy link

How to Skip upload to /api/server

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

No branches or pull requests

3 participants