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