|
|
|
@ -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) {
|
|
|
|
|