-
Notifications
You must be signed in to change notification settings - Fork 74
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
[Idea] Add ability to include headers to endpoints #94
Comments
Hey @youngchan1694, thanks for the suggestion! You can currently use a function for |
Ah, okay I appreciate it. I didn't know that was possible but I couldn't find an example of passing a function into the Edit: Currently, I'm just passing in the endpoint as a string in the data prop
|
Docs are here: https://github.com/ankane/vue-chartkick#data |
Hello.
Our current project uses chartkick to render charts by providing them endpoints to our backend. However, most of our endpoints currently use JWT authentication tokens in order to access that data, would it be possible to add a a prop that takes in headers and/or other backend settings? If not, either the charts don't render due to no access and throw a 401 or we have to unlock those certain endpoints.
Thanks!
The text was updated successfully, but these errors were encountered: