Hi Erdem,

You'll need to fetch a CSRF token using 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.


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&section=4&format=json&continue= post it
See https://en.wiktionary.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at &amp;lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&;amp;gt; for notice of API deprecations and breaking changes.
Mediawiki-api mailing list