Pass variables values via GPRS / http to Arduino sketch

How can I pass different variables values from a server to the arduino sketch, e.g. I call a webpage with the GPRSbee via http

and the webserver submits then

newTime = 1516005707; // update time
newUpdateInterval = 2; // update every 2 hours

The variables newTime, newUpdateInterval are initialized in the sketch already. I just want to update the values. Do I have to search for “newTime”, split the line on “=”, write the 1516005707 to a temporary variable and assign the value to the existing variable “newTime” or is there a more convenient way?

I believe there is a Arduino library for JSON encoding and decoding, you might find using JSON an easier approach.