// add kinematic data to a session public void PushSessionData(string serializedData) { if (!apiService) { return; } if (string.IsNullOrEmpty(this.sessionID)) { //Debug.LogError("Cannot push session data to a null session"); return; } APIService.IRequest req = apiService.CreateRequestJSON(APIService.RequestMethod.POST, this.endpoints["Session"] + "/" + this.sessionID, serializedData); CallAPI(req, this.callback, true); }