You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-27 22:18:36 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
AccessKey = "AccessKey";
|
AccessKey = "AccessKey";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
RandomArray = New Array;
|
RandomArray = New Array;
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/AddHeader.txt
vendored
2
docs/en/examples/HTTPClient/AddHeader.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Token = "***";
|
Token = "***";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/GetLog.txt
vendored
2
docs/en/examples/HTTPClient/GetLog.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
ParametersStructure = New Structure("param1,param2", "text", 10);
|
ParametersStructure = New Structure("param1,param2", "text", 10);
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/Initialize.txt
vendored
2
docs/en/examples/HTTPClient/Initialize.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests
|
Result = OPI_HTTPRequests
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
TFN = GetTempFileName();
|
TFN = GetTempFileName();
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/SetDataType.txt
vendored
2
docs/en/examples/HTTPClient/SetDataType.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
MIMEType = "text/markdown";
|
MIMEType = "text/markdown";
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/SetFormBody.txt
vendored
2
docs/en/examples/HTTPClient/SetFormBody.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Data = New Structure("Field1,Field2", "10", "Text");
|
Data = New Structure("Field1,Field2", "10", "Text");
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/SetHeaders.txt
vendored
2
docs/en/examples/HTTPClient/SetHeaders.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Headers = New Map;
|
Headers = New Map;
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/SetJsonBody.txt
vendored
2
docs/en/examples/HTTPClient/SetJsonBody.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
RandomArray = New Array;
|
RandomArray = New Array;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Token = "***";
|
Token = "***";
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/SetProxy.txt
vendored
2
docs/en/examples/HTTPClient/SetProxy.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
ProxySettings = New InternetProxy;
|
ProxySettings = New InternetProxy;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
TFN = GetTempFileName();
|
TFN = GetTempFileName();
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Text = "Hello world!";
|
Text = "Hello world!";
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/SetTimeout.txt
vendored
2
docs/en/examples/HTTPClient/SetTimeout.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/SetURL.txt
vendored
2
docs/en/examples/HTTPClient/SetURL.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/SetURLParams.txt
vendored
2
docs/en/examples/HTTPClient/SetURLParams.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
ParametersStructure = New Structure("param1,param2", "text", 10);
|
ParametersStructure = New Structure("param1,param2", "text", 10);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
ArrayParam = New Array;
|
ArrayParam = New Array;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
2
docs/en/examples/HTTPClient/UseEncoding.txt
vendored
2
docs/en/examples/HTTPClient/UseEncoding.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Text = "Hello world!";
|
Text = "Hello world!";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
ParametersStructure = New Structure;
|
ParametersStructure = New Structure;
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
AccessKey = "AccessKey";
|
AccessKey = "AccessKey";
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ By default, HMAC-SHA256 is used to create the signature. To change the algorithm
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Token = "***";
|
Token = "***";
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Token = "***";
|
Token = "***";
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ The Multipart record must first be initialized using the `StartMultipartBody` fu
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
RandomArray = New Array;
|
RandomArray = New Array;
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ The Multipart record must first be initialized using the `StartMultipartBody` fu
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Data = New Structure("Field1,Field2", "10", "Text");
|
Data = New Structure("Field1,Field2", "10", "Text");
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
RandomArray = New Array;
|
RandomArray = New Array;
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Text = "Hello world!";
|
Text = "Hello world!";
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ The `AddMultipartFormDataFile` and `AddMultipartFormDataField` methods are used
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Headers = New Map;
|
Headers = New Map;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
ParametersStructure = New Structure("param1,param2", "text", 10);
|
ParametersStructure = New Structure("param1,param2", "text", 10);
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ The URL can be set later using the `SetURL` function
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests
|
Result = OPI_HTTPRequests
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ If the data type is not set manually, it will be matched during the process of s
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
MIMEType = "text/markdown";
|
MIMEType = "text/markdown";
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
ProxySettings = New InternetProxy;
|
ProxySettings = New InternetProxy;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
TFN = GetTempFileName();
|
TFN = GetTempFileName();
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ Default timeout is 3600 seconds
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
ParametersStructure = New Structure("param1,param2", "text", 10);
|
ParametersStructure = New Structure("param1,param2", "text", 10);
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Result = OPI_HTTPRequests.NewRequest()
|
Result = OPI_HTTPRequests.NewRequest()
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ If it is not possible to obtain a collection from the body, binary data will be
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
TFN = GetTempFileName();
|
TFN = GetTempFileName();
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ By default, square brackets to parameter keys are not set when array splitting i
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
ArrayParam = New Array;
|
ArrayParam = New Array;
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ By default, the body data is used in the signature calculation if it was set usi
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ UTF-8 is used by default
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Text = "Hello world!";
|
Text = "Hello world!";
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ By default, the response from the server is requested with gzip compression
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ URL encoding is enabled by default
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="1C:Enterprise/OneScript code example"
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
ParametersStructure = New Structure;
|
ParametersStructure = New Structure;
|
||||||
|
|||||||
38
docs/en/md/SSH/Common-methods/Close-connection.mdx
vendored
Normal file
38
docs/en/md/SSH/Common-methods/Close-connection.mdx
vendored
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 4
|
||||||
|
description: Close connection and other functions to work with SSH 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, SSH]
|
||||||
|
---
|
||||||
|
|
||||||
|
import Tabs from '@theme/Tabs';
|
||||||
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
# Close connection
|
||||||
|
Explicitly closes the passed connection
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`Function CloseConnection(Val Connection) Export`
|
||||||
|
|
||||||
|
| Parameter | CLI option | Type | Required | Description |
|
||||||
|
|-|-|-|-|-|
|
||||||
|
| Connection | - | Arbitrary | ✔ | AddIn object with open connection |
|
||||||
|
|
||||||
|
|
||||||
|
Returns: Structure Of KeyAndValue - Result of connection termination
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
:::caution
|
||||||
|
**NOCLI:** this method is not available in CLI version
|
||||||
|
:::
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
86
docs/en/md/SSH/Common-methods/Create-connection.mdx
vendored
Normal file
86
docs/en/md/SSH/Common-methods/Create-connection.mdx
vendored
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 1
|
||||||
|
description: Create Connection and other functions to work with SSH 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, SSH]
|
||||||
|
---
|
||||||
|
|
||||||
|
import Tabs from '@theme/Tabs';
|
||||||
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
# Create Connection
|
||||||
|
Creates a new SSH session
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`Function CreateConnection(Val SSHSettings, Val Proxy = "") Export`
|
||||||
|
|
||||||
|
| Parameter | CLI option | Type | Required | Description |
|
||||||
|
|-|-|-|-|-|
|
||||||
|
| SSHSettings | - | Structure Of KeyAndValue | ✔ | Connection settings structure |
|
||||||
|
| Proxy | - | Structure Of KeyAndValue | ✖ | Proxy settings structure, if necessary |
|
||||||
|
|
||||||
|
|
||||||
|
Returns: Arbitrary, Map of KeyAndValue - Create Connection
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Get the connection configuration using the functions `GetSettingsLoginPassword`, `GetSettingsPrivateKey`, `GetSettingsViaAgent`
|
||||||
|
:::
|
||||||
|
|
||||||
|
:::caution
|
||||||
|
**NOCLI:** this method is not available in CLI version
|
||||||
|
:::
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
```bsl title="1C:Enterprise/OneScript code example"
|
||||||
|
Host = "172.33.0.13";
|
||||||
|
Port = "2222";
|
||||||
|
|
||||||
|
UseProxy = True;
|
||||||
|
ProxySettings = Undefined;
|
||||||
|
AuthorizationType = "By login and password";
|
||||||
|
|
||||||
|
If AuthorizationType = "By login and password" Then
|
||||||
|
|
||||||
|
Login = "bayselonarrend";
|
||||||
|
Password = "12we...";
|
||||||
|
|
||||||
|
SSHSettings = OPI_SSH.GetSettingsLoginPassword(Host, Port, Login, Password);
|
||||||
|
|
||||||
|
ElsIf AuthorizationType = "By key" Then
|
||||||
|
|
||||||
|
Login = "bayselonarrend";
|
||||||
|
PrivateKey = "./ssh_key";
|
||||||
|
PublicKey = "./ssh_key.pub";
|
||||||
|
|
||||||
|
SSHSettings = OPI_SSH.GetSettingsPrivateKey(Host, Port, Login, PrivateKey, PublicKey);
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Login = "bayselonarrend";
|
||||||
|
SSHSettings = OPI_SSH.GetSettingsViaAgent(Host, Port, Login);
|
||||||
|
|
||||||
|
EndIf;
|
||||||
|
|
||||||
|
If UseProxy Then
|
||||||
|
|
||||||
|
ProxyType = "http"; // http, socks5, socks4
|
||||||
|
|
||||||
|
ProxyAddress = "127.0.0.1";
|
||||||
|
ProxyPort = "8071";
|
||||||
|
ProxyLogin = "proxyuser";
|
||||||
|
ProxyPassword = "12we...";
|
||||||
|
|
||||||
|
ProxySettings = OPI_SSH.GetProxySettings(ProxyAddress, ProxyPort, ProxyType, ProxyLogin, ProxyPassword);
|
||||||
|
|
||||||
|
EndIf;
|
||||||
|
|
||||||
|
Result = OPI_SSH.CreateConnection(SSHSettings, ProxySettings);
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
34
docs/en/md/SSH/Common-methods/Execute-command.mdx
vendored
Normal file
34
docs/en/md/SSH/Common-methods/Execute-command.mdx
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 3
|
||||||
|
description: Execute command and other functions to work with SSH 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, SSH]
|
||||||
|
---
|
||||||
|
|
||||||
|
import Tabs from '@theme/Tabs';
|
||||||
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
# Execute command
|
||||||
|
Executes the specified command
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`Function ExecuteCommand(Val Connection, Val Command) Export`
|
||||||
|
|
||||||
|
| Parameter | CLI option | Type | Required | Description |
|
||||||
|
|-|-|-|-|-|
|
||||||
|
| Connection | --conn | Arbitrary | ✔ | Existing connection or connection configuration |
|
||||||
|
| Command | --comm | String | ✔ | Command text |
|
||||||
|
|
||||||
|
|
||||||
|
Returns: Map Of KeyAndValue - Processing result
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
42
docs/en/md/SSH/Common-methods/Get-connection-configuration.mdx
vendored
Normal file
42
docs/en/md/SSH/Common-methods/Get-connection-configuration.mdx
vendored
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 2
|
||||||
|
description: Get connection configuration and other functions to work with SSH 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, SSH]
|
||||||
|
---
|
||||||
|
|
||||||
|
import Tabs from '@theme/Tabs';
|
||||||
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
# Get connection configuration
|
||||||
|
Forms a complete structure of connection settings that can be used instead of the actual connection when calling other functions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`Function GetConnectionConfiguration(Val SSHSettings, Val Proxy = Undefined) Export`
|
||||||
|
|
||||||
|
| Parameter | CLI option | Type | Required | Description |
|
||||||
|
|-|-|-|-|-|
|
||||||
|
| SSHSettings | --set | Structure Of KeyAndValue | ✔ | SSH settings |
|
||||||
|
| Proxy | --proxy | Structure Of KeyAndValue | ✖ | Proxy settings, if required. See GetProxySettings |
|
||||||
|
|
||||||
|
|
||||||
|
Returns: Structure Of KeyAndValue - Connection settings structure
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Can be passed as the `Connection` parameter in other functions instead of the actual connection from the `CreateConnection` function.
|
||||||
|
|
||||||
|
At the same time, a new connection will be opened and closed within the called function
|
||||||
|
|
||||||
|
It is not recommended to use the connection configuration for multiple requests to the SSH server. This functionality is primarily intended for the CLI version of OInt, where maintaining a connection between calls is not possible
|
||||||
|
:::
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
37
docs/en/md/SSH/Common-methods/Get-proxy-settings.mdx
vendored
Normal file
37
docs/en/md/SSH/Common-methods/Get-proxy-settings.mdx
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 9
|
||||||
|
description: Get proxy settings and other functions to work with SSH 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, SSH]
|
||||||
|
---
|
||||||
|
|
||||||
|
import Tabs from '@theme/Tabs';
|
||||||
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
# Get proxy settings
|
||||||
|
Creates a structure of proxy server settings for the connection
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`Function GetProxySettings(Val Address, Val Port, Val View = "socks5", Val Login = Undefined, Val Password = Undefined) Export`
|
||||||
|
|
||||||
|
| Parameter | CLI option | Type | Required | Description |
|
||||||
|
|-|-|-|-|-|
|
||||||
|
| Address | --addr | String | ✔ | Proxy address |
|
||||||
|
| Port | --port | Number | ✔ | Proxy port |
|
||||||
|
| View | --type | String | ✖ | Proxy type: socks5, socks4, http |
|
||||||
|
| Login | --login | String, Undefined | ✖ | Authorization login, if required |
|
||||||
|
| Password | --pass | String, Undefined | ✖ | Authorization password, if required |
|
||||||
|
|
||||||
|
|
||||||
|
Returns: Structure Of KeyAndValue - Proxy settings structure
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
36
docs/en/md/SSH/Common-methods/Get-settings-login-password.mdx
vendored
Normal file
36
docs/en/md/SSH/Common-methods/Get-settings-login-password.mdx
vendored
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 6
|
||||||
|
description: Get settings (login/password) and other functions to work with SSH 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, SSH]
|
||||||
|
---
|
||||||
|
|
||||||
|
import Tabs from '@theme/Tabs';
|
||||||
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
# Get settings (login/password)
|
||||||
|
Gets connection settings with login and password authentication
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`Function GetSettingsLoginPassword(Val Host, Val Port, Val Login, Val Password = "") Export`
|
||||||
|
|
||||||
|
| Parameter | CLI option | Type | Required | Description |
|
||||||
|
|-|-|-|-|-|
|
||||||
|
| Host | --host | String | ✔ | SSH host |
|
||||||
|
| Port | --port | Number | ✔ | SSH port |
|
||||||
|
| Login | --user | String | ✔ | SSH username |
|
||||||
|
| Password | --pass | String | ✖ | SSH user password |
|
||||||
|
|
||||||
|
|
||||||
|
Returns: Structure Of KeyAndValue - Connection configuration
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
38
docs/en/md/SSH/Common-methods/Get-settings-private-key.mdx
vendored
Normal file
38
docs/en/md/SSH/Common-methods/Get-settings-private-key.mdx
vendored
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 7
|
||||||
|
description: Get settings (private key) and other functions to work with SSH 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, SSH]
|
||||||
|
---
|
||||||
|
|
||||||
|
import Tabs from '@theme/Tabs';
|
||||||
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
# Get settings (private key)
|
||||||
|
Gets connection settings with private key authentication
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`Function GetSettingsPrivateKey(Val Host, Val Port, Val Login, Val Private, Val Public = "", Val Password = "") Export`
|
||||||
|
|
||||||
|
| Parameter | CLI option | Type | Required | Description |
|
||||||
|
|-|-|-|-|-|
|
||||||
|
| Host | --host | String | ✔ | SSH host |
|
||||||
|
| Port | --port | Number | ✔ | SSH port |
|
||||||
|
| Login | --user | String | ✔ | SSH username |
|
||||||
|
| Private | --key | String | ✔ | Path to private key file |
|
||||||
|
| Public | --pub | String | ✖ | Path to public key file |
|
||||||
|
| Password | --pass | String | ✖ | Private key password (passphrase) |
|
||||||
|
|
||||||
|
|
||||||
|
Returns: Structure Of KeyAndValue - Connection configuration
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
35
docs/en/md/SSH/Common-methods/Get-settings-via-agent.mdx
vendored
Normal file
35
docs/en/md/SSH/Common-methods/Get-settings-via-agent.mdx
vendored
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 8
|
||||||
|
description: Get settings (via agent) and other functions to work with SSH 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, SSH]
|
||||||
|
---
|
||||||
|
|
||||||
|
import Tabs from '@theme/Tabs';
|
||||||
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
# Get settings (via agent)
|
||||||
|
Gets connection settings with SSH Agent authentication
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`Function GetSettingsViaAgent(Val Host, Val Port, Val Login) Export`
|
||||||
|
|
||||||
|
| Parameter | CLI option | Type | Required | Description |
|
||||||
|
|-|-|-|-|-|
|
||||||
|
| Host | --host | String | ✔ | SSH host |
|
||||||
|
| Port | --port | Number | ✔ | SSH port |
|
||||||
|
| Login | --user | String | ✔ | SSH username |
|
||||||
|
|
||||||
|
|
||||||
|
Returns: Structure Of KeyAndValue - Connection configuration
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
38
docs/en/md/SSH/Common-methods/Is-connector.mdx
vendored
Normal file
38
docs/en/md/SSH/Common-methods/Is-connector.mdx
vendored
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 5
|
||||||
|
description: Is connector and other functions to work with SSH 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, SSH]
|
||||||
|
---
|
||||||
|
|
||||||
|
import Tabs from '@theme/Tabs';
|
||||||
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
# Is connector
|
||||||
|
Checks that the value is an object of an external component for working with SSH
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`Function IsConnector(Val Value) Export`
|
||||||
|
|
||||||
|
| Parameter | CLI option | Type | Required | Description |
|
||||||
|
|-|-|-|-|-|
|
||||||
|
| Value | - | Arbitrary | ✔ | Value to check |
|
||||||
|
|
||||||
|
|
||||||
|
Returns: Boolean - Is connector
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
:::caution
|
||||||
|
**NOCLI:** this method is not available in CLI version
|
||||||
|
:::
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
4
docs/en/md/SSH/Common-methods/_category_.json
vendored
Normal file
4
docs/en/md/SSH/Common-methods/_category_.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"label": "Common methods",
|
||||||
|
"position": "2"
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
ИВФ = ПолучитьИмяВременногоФайла();
|
ИВФ = ПолучитьИмяВременногоФайла();
|
||||||
|
|||||||
2
docs/ru/examples/HTTPКлиент/ВернутьОтвет.txt
vendored
2
docs/ru/examples/HTTPКлиент/ВернутьОтвет.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
AccessKey = "AccessKey";
|
AccessKey = "AccessKey";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Токен = "***";
|
Токен = "***";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
СлучайныйМассив = Новый Массив;
|
СлучайныйМассив = Новый Массив;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/get";
|
URL = URL + "/get";
|
||||||
|
|
||||||
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
Результат = OPI_ЗапросыHTTP.НовыйЗапрос()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
URL = "https://httpbin.org";
|
URL = "https://bin.openintegrations.dev";
|
||||||
URL = URL + "/post";
|
URL = URL + "/post";
|
||||||
|
|
||||||
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
Картинка = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Путь или Двоичные данные
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user