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

Fail to get edit / csrf token #14

Open
shiyou0130011 opened this issue Jan 10, 2024 · 0 comments
Open

Fail to get edit / csrf token #14

shiyou0130011 opened this issue Jan 10, 2024 · 0 comments

Comments

@shiyou0130011
Copy link

The old code for getting token is action=query&format=json&prop=info%7Crevisions&intoken=edit&titles=Main+Page

However, according to the current API, it should be action=query&format=json&meta=tokens&type=login.

shiyou0130011 added a commit to shiyou0130011/mediawiki that referenced this issue Jan 10, 2024
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

1 participant