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 Create A Session? #16

Open
xFGhoul opened this issue Nov 7, 2021 · 6 comments
Open

How To Create A Session? #16

xFGhoul opened this issue Nov 7, 2021 · 6 comments

Comments

@xFGhoul
Copy link

xFGhoul commented Nov 7, 2021

Issue title says enough

@Tert0
Copy link
Owner

Tert0 commented Dec 21, 2021

What kind of session do you mean?

@MiroslavRosenov
Copy link
Contributor

I do a request.session I add the token as session cookie. When I need to make a call, I simply add the token as header

@xFGhoul
Copy link
Author

xFGhoul commented Dec 22, 2021

I do a request.session I add the token as session cookie. When I need to make a call, I simply add the token as header

Basically What This Does, Like FlaskDiscord create_session method

@MiroslavRosenov
Copy link
Contributor

I've never seen Flask-Discord, but this is what works for me. There are no docs and not good example for this library. I looked into the code and I saw that it uses headers for some odd reason...

@xFGhoul
Copy link
Author

xFGhoul commented Dec 22, 2021

I've never seen Flask-Discord, but this is what works for me. There are no docs and not good example for this library. I looked into the code and I saw that it uses headers for some odd reason...

Can you provide some example code?

@MiroslavRosenov
Copy link
Contributor

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

3 participants