Beispiel #1
0
        public virtual HttpRequest Create(BulkRequest request)
        {
            var createHttpRequest = CreateFor <BulkRequest>(HttpMethod.Post, GenerateRequestUrl(request));

            createHttpRequest.SetContent(request.ToJson());

            return(createHttpRequest);
        }
        public virtual HttpRequest Create(BulkRequest request)
        {
            var createHttpRequest = CreateFor<BulkRequest>(HttpMethod.Post, GenerateRequestUrl(request));

            createHttpRequest.SetContent(request.ToJson());

            return createHttpRequest;
        }