Include Curly brackets into String CURL

The only problem I have is on the method were I upload the data:

void uploadData() {//Upload Data

Console.println("Call Linux Command to Send Data Wattabit");
Process proc; // Create a proce ss and call it "proc", this process will execute a Linux curl command

proc.runShellCommand("curl -k -g preapiv2.wattabit.com/wdevices/v1/publish/generic?token=XXXXXX&type=MATRIX&dataloggerId=XXXXXX&timezone=Romance%20standard%20Time&data=[{'dev':'2'}]");

delayMicroseconds(40);

Console.print("Feedback from Linux: ");
// If there's output from Linux,
// send it out the Console:
while (proc.available()>0)
{
char c = proc.read();
Console.write((char)c);

}

Console.println("");
Console.println("Call Finished");
Console.println("####################################");
Console.println("");
}