Hi Erdem,
You'll need to fetch a CSRF token using api.php?action=query&meta=tokens https://en.wiktionary.org/w/api.php?action=query&meta=tokens and post it as the "token" parameter in your api.php?action=edit request. You'll need to fetch a new token in this way for each request to api.php?action=edit.
--mdh
On Thu, Jul 2, 2020 at 1:12 PM Erdem Özgür erdmzgr@gmail.com wrote:
My question is where is my token and how can i use the token for API calls?
I am getting this error when i https://en.wiktionary.org/w/api.php?action=edit%C2%A7ion=4&format=json&a... post it
ERROR:
See https://en.wiktionary.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&;amp...; for notice of API deprecations and breaking changes.
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api