mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-05 20:57:40 +00:00
Using POST instead of GET + seq
This commit is contained in:
@@ -376,15 +376,13 @@ function VNCClient(display) {
|
||||
}
|
||||
|
||||
|
||||
var seq = 0;
|
||||
|
||||
function makeRequest() {
|
||||
|
||||
// Download self
|
||||
var xmlhttprequest = new XMLHttpRequest();
|
||||
xmlhttprequest.open("GET", "instructions?seq=" + (seq++));
|
||||
|
||||
xmlhttprequest.open("POST", "instructions");
|
||||
xmlhttprequest.send(null);
|
||||
|
||||
return xmlhttprequest;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user