master
mms37 2 years ago
parent b4248d24f2
commit 84dfa22d4a

@ -233,7 +233,7 @@ public class Input extends JDialog implements ActionListener, DateTimeChangeList
String postcmd = null;
if (SystemUtils.IS_OS_WINDOWS) {
packageString=packageString.replace("\"","\\\"");
postcmd = "curl -i -H \"Content-Type: application/json\" -X " + "POST -d " + packageString + " localhost:8080"; // for Windows
postcmd = "curl -i -H \"Content-Type: application/json\" -X " + "POST -d \"" + packageString + "\" localhost:8080"; // for Windows
System.out.println(postcmd + " --> postcmd");
}
else if(SystemUtils.IS_OS_MAC) {

Loading…
Cancel
Save