vue-media-upload
vue-media-upload copied to clipboard
My server requires authentication for server API call but how to send that data?
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?
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"}
How to Skip upload to /api/server