Commit a62684cd authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: /slapgridResult is a GET

as no data is changed/created server side
parent c79ea8d4
...@@ -100,7 +100,7 @@ function getRunningState() { ...@@ -100,7 +100,7 @@ function getRunningState() {
position: logReadingPosition, position: logReadingPosition,
log: (openedlogpage !== "") ? currentProcess : "" log: (openedlogpage !== "") ? currentProcess : ""
}, },
jqxhr = $.post(url, param, function (data) { jqxhr = $.get(url, param, function (data) {
running = data.result; running = data.result;
if (data.instance.state) { if (data.instance.state) {
currentProcess = processTypes.instance; currentProcess = processTypes.instance;
......
...@@ -876,7 +876,7 @@ app.add_url_rule('/getSoftwareType', 'getSoftwareType', ...@@ -876,7 +876,7 @@ app.add_url_rule('/getSoftwareType', 'getSoftwareType',
getSoftwareType, methods=['GET']) getSoftwareType, methods=['GET'])
app.add_url_rule("/stopSlapgrid", 'stopSlapgrid', stopSlapgrid, methods=['POST']) app.add_url_rule("/stopSlapgrid", 'stopSlapgrid', stopSlapgrid, methods=['POST'])
app.add_url_rule("/slapgridResult", 'slapgridResult', 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("/getmd5sum", 'getmd5sum', getmd5sum, methods=['POST'])
app.add_url_rule("/checkFileType", 'checkFileType', checkFileType, app.add_url_rule("/checkFileType", 'checkFileType', checkFileType,
methods=['POST']) 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