Commit 6c3d63b4 authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: /slapgridResult is a GET

as no data is changed/created server side
parent a58553e2
......@@ -100,7 +100,7 @@ function getRunningState() {
position: logReadingPosition,
log: (openedlogpage !== "") ? currentProcess : ""
},
jqxhr = $.post(url, param, function (data) {
jqxhr = $.get(url, param, function (data) {
running = data.result;
if (data.instance.state) {
currentProcess = processTypes.instance;
......
......@@ -876,7 +876,7 @@ app.add_url_rule('/getSoftwareType', 'getSoftwareType',
getSoftwareType, methods=['GET'])
app.add_url_rule("/stopSlapgrid", 'stopSlapgrid', stopSlapgrid, methods=['POST'])
app.add_url_rule("/slapgridResult", 'slapgridResult',
slapgridResult, methods=['POST'])
slapgridResult, methods=['GET'])
app.add_url_rule("/getmd5sum", 'getmd5sum', getmd5sum, methods=['POST'])
app.add_url_rule("/checkFileType", 'checkFileType', checkFileType,
methods=['POST'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment