1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-07-01 00:55:36 +02:00
Files
OpenIntegrations/docs/en/md/Integration_proxy_methods/Project-setup/Add-requests-handler.mdx

37 lines
725 B
Plaintext
Raw Normal View History

2025-01-29 16:59:34 +03:00
---
sidebar_position: 2
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Add requests handler
Adds a new handler to the project
2025-01-29 23:01:38 +03:00
`Function AddRequestsHandler(Val Project, Val OintFunction, Val Method = "GET") Export`
2025-01-29 16:59:34 +03:00
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | ✔ | Project filepath |
2025-01-29 23:01:38 +03:00
| OintFunction | --func | String | ✔ | OpenIntegrations function name |
2025-01-29 16:59:34 +03:00
| Method | --method | String | ✖ | HTTP method that will process the handler: GET, POST, MULTIPART |
2025-01-29 23:01:38 +03:00
Returns: Structure Of KeyAndValue - Result of handler creation
2025-01-29 16:59:34 +03:00
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```