You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-23 22:05:15 +02:00
41 lines
1.0 KiB
Plaintext
Vendored
41 lines
1.0 KiB
Plaintext
Vendored
---
|
|
sidebar_position: 4
|
|
description: Send part 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 part
|
|
Sends a request with the specified part of the body and the Content-Range header
|
|
|
|
|
|
|
|
`Function SendPart(Val StartPosition, Val ByteCount, Val Method = "PUT") Export`
|
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|-|-|-|-|-|
|
|
| StartPosition | - | Number | ✔ | Start position in request body |
|
|
| ByteCount | - | Number | ✔ | Number of bytes from the specified start position for sending |
|
|
| Method | - | String | ✖ | Request HTTP method |
|
|
|
|
|
|
Returns: DataProcessorObject.OPI_HTTPClient - This processor object
|
|
|
|
<br/>
|
|
|
|
|
|
:::caution
|
|
**NOCLI:** this method is not available in CLI version
|
|
:::
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|