Open maidamai0 opened 5 years ago
@lee64456546
previous problems: 1.no path when updating data, creating data, retriving data
changed contents like below:
// update data
ProtobufData update_data;
cl.put(url, update_data);
// create data
ProbufData create_data;
cl.post(url, create_data);
// retrive data
Url get_path = "some/data/can/be/convert/to/protobuf";
ProtobufData get_data = cl.get(get_path);
example code like this:
Please use smart pointer to manage memory.