1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/md/HTTP-client/Authorization/Add-basic-authorization.mdx
Vitaly the Alpaca (bot) d19df628f6 Main build (Jenkins)
2025-05-04 21:43:56 +03:00

41 lines
651 B
Plaintext
Vendored

---
sidebar_position: 1
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Add Basic authorization
Adds standard authorization by username and password
`Function AddBasicAuthorization(Val User, Val Password) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| User | - | String | ✔ | Users name |
| Password | - | String | ✔ | Password |
Returns: DataProcessorObject.OPI_HTTPClient - This processor object
<br/>
:::caution
**NOCLI:** this method is not available in CLI version
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```