I am getting the login token using a POST API calling this URL "http://localhost:81/mediawiki/api.php?action=query&meta=tokens&type=login&format=json" with the below post object
my post object is { lgname: test123, lgpassword: test@123 }.
Once I got the logintoken and session created, I am again doing a POST call to this URL"http://localhost:81/mediawiki/api.php?action=query&meta=tokens&type=csrf&format=json" with the below cookie information
bitnami_mediawiki_session: e6ggc1bi6jt2qck5rubgpddi6bq0jc9s; bitnami_mediawikiUserID:1;bitnami_mediawikiUserName: test123
Even after doing the above steps, I am still receiving anon token (+). Is there anything I am doing wrong or missing? Any assistance would be of great help.