mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-27 21:48:56 +02:00
38 lines
793 B
Plaintext
Vendored
38 lines
793 B
Plaintext
Vendored
---
|
|
sidebar_position: 2
|
|
---
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
# Add requests handler
|
|
Adds a new handler to the project
|
|
|
|
|
|
|
|
`Function AddRequestsHandler(Val Project, Val Name, Val SecretKey, Val Method = "GET") Export`
|
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|-|-|-|-|-|
|
|
| Project | --proj | String | ✔ | Project filepath |
|
|
| Name | --name | String | ✔ | Name of the new handler |
|
|
| SecretKey | --secret | String | ✔ | Secret key for URL handler |
|
|
| Method | --method | String | ✖ | HTTP method that will process the handler: GET, POST, MULTIPART |
|
|
|
|
|
|
Returns: Structure Of KeyAndValue - result of adding a handler
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
```bsl title="1C:Enterprise/OneScript code example"
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|