1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-05-12 19:32:06 +03:00
parent e9c2e21040
commit 862d29a0b3
37 changed files with 8493 additions and 8075 deletions

View File

@@ -8,15 +8,15 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Execute request
Executes the request if it has been generated or set previously
Executes the request if it was created earlier
`Function ExecuteRequest(Val Method) Export`
`Function ExecuteRequest(Forced = False) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Method | - | String | ✔ | Request HTTP method |
| Forced | - | Boolean | ✖ | Attempted execution without additional checks |
Returns: DataProcessorObject.OPI_HTTPClient - This processor object
@@ -32,7 +32,15 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()
.Initialize()
.SetURL(URL)
.ProcessRequest("GET", False)
.ExecuteRequest() // <---
.ReturnResponseAsJSONObject();
```

View File

@@ -32,7 +32,14 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()
.Initialize()
.SetURL(URL)
.ProcessRequest("GET", False)
.ReturnConnection(); // <---
```

View File

@@ -32,7 +32,14 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://httpbin.org";
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()
.Initialize()
.SetURL(URL)
.ProcessRequest("GET", False)
.ReturnRequest(); // <---
```