Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

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/sadbox-mediawiki that referenced this issue Jan 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant