示例#1
0
        public RestRequest Put(string path, object requestBody)
        {
            var request = new RestRequest(path, Method.PUT);

            request.AddParameter("Application/json", ApiRequestHelper.SerialiseRequestToSnakeCaseJson(requestBody),
                                 ParameterType.RequestBody);
            return(request);
        }