Translations:Manual:Edit token/30/en

Below is sample code for retrieving an edit token via an Ajax request: