﻿---
sidebar_position: 3
description: Send data in parts  and other functions to work with HTTP-client in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, HTTP-client]
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Send data in parts 
 Sends the body in multiple requests with the Content-Range header



`Function SendDataInParts(Val ChunkSize = 5242880, Val Method = "PUT") Export`

  | Parameter | CLI option | Type | Required | Description |
  |-|-|-|-|-|
  | ChunkSize | - | Number | &#x2716; | Size of one part for sending |
  | Method | - | String | &#x2716; | Request HTTP method |

  
  Returns:  DataProcessorObject.OPI_HTTPClient - This processor object

<br/>


:::caution
**NOCLI:** this method is not available in CLI version
:::
<br/>



 




