mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-07 01:04:02 +00:00
other-zones.js: updated HTTPRequest calls to explicitly use POST method when needed.
This commit is contained in:
@@ -461,6 +461,7 @@ function importAllowedZones() {
|
||||
|
||||
HTTPRequest({
|
||||
url: "/api/allowed/import?token=" + sessionData.token,
|
||||
method: "POST",
|
||||
data: "allowedZones=" + encodeURIComponent(allowedZones),
|
||||
processData: false,
|
||||
success: function (responseJSON) {
|
||||
@@ -509,6 +510,7 @@ function importBlockedZones() {
|
||||
|
||||
HTTPRequest({
|
||||
url: "/api/blocked/import?token=" + sessionData.token,
|
||||
method: "POST",
|
||||
data: "blockedZones=" + encodeURIComponent(blockedZones),
|
||||
processData: false,
|
||||
success: function (responseJSON) {
|
||||
|
||||
Reference in New Issue
Block a user