mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
nodejs: change api/convert method to post
This commit is contained in:
@ -131,12 +131,13 @@ if (typeof jQuery != "undefined") {
|
||||
}
|
||||
|
||||
timer = setTimeout(function () {
|
||||
var requestAddress = UrlConverter + "?filename=" + encodeURIComponent(jq("#hiddenFileName").val());
|
||||
jq.ajaxSetup({ cache: false });
|
||||
jq.ajax({
|
||||
async: true,
|
||||
type: "get",
|
||||
url: requestAddress,
|
||||
type: "post",
|
||||
dataType: "json",
|
||||
data: {filename: fileName},
|
||||
url: UrlConverter,
|
||||
complete: function (data) {
|
||||
var responseText = data.responseText;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user