Пример #1
0
        public ApiResponse CreateUser(string user, string password)
        {
            var url      = "/api/user/create";
            var response = _testSupportApiHelper.Post(url, new
            {
                userName = user,
                password = password
            });

            return(response);
        }
Пример #2
0
        public ApiResponse UploadImage(string imageId, string imageData)
        {
            var url = "/api/image/upload";

            var response = _testSupportApiHelper.Post(url, new ImageForm
            {
                ImageId   = imageId,
                ImageData = imageData
            });

            return(response);
        }