public void Start(string name) { var requestBody = new PutName { name = name }; var json = JsonConvert.SerializeObject(requestBody); ExecuteRequest("pomodoro", "PUT", json); }
public void StopPomodoro(string name) { var requestBody = new PutName { name = name }; var json = JsonConvert.SerializeObject(requestBody); DoGetRequest("pomodoro", "DELETE", json); }