From 2a364706c94473ebbfc06784504e0999f8da2122 Mon Sep 17 00:00:00 2001 From: Shashank Atreya Date: Wed, 14 Aug 2024 22:05:58 +0530 Subject: [PATCH] change request type to POST --- resources/scripts/ext.dota2WebApi.toolbar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/scripts/ext.dota2WebApi.toolbar.js b/resources/scripts/ext.dota2WebApi.toolbar.js index 6ff15ad..8d5f389 100644 --- a/resources/scripts/ext.dota2WebApi.toolbar.js +++ b/resources/scripts/ext.dota2WebApi.toolbar.js @@ -149,6 +149,7 @@ $( () => { $.ajax( { url: mw.util.wikiScript( 'api' ), dataType: 'json', + type: 'POST', data: { action: 'dota2dbapi', matchid: vars.matchIDs[ i ], @@ -474,6 +475,7 @@ $( () => { $.ajax( { url: mw.util.wikiScript( 'api' ), dataType: 'json', + type: 'POST', data: { action: 'dota2dbapi', matchid: vars.matchIDs[ i ],