get-csrf-token ( -- csrf-token )


Vocabulary
mediawiki.api.private

Inputs
None

Outputs
csrf-tokenan object


Definition


: get-csrf-token ( -- csrf-token )
{ { "meta" "tokens" } { "type" "csrf" } } query "csrftoken"
of dup csrf-token set-global ;