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

How to pass tokens to api calls? #1

Open
hadi7khan opened this issue Apr 3, 2023 · 1 comment
Open

How to pass tokens to api calls? #1

hadi7khan opened this issue Apr 3, 2023 · 1 comment

Comments

@hadi7khan
Copy link

I tried to add token to dio client but its not accepting string. Please add tokens to api calls

@akshatbhuhagal
Copy link

@hadi7khan You can pass Token and other Options just after giving endpoint on API method inside options parameter just like this :-

image

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

2 participants