This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong-website.git
The following commit(s) were added to refs/heads/master by this push:
new 793e27e327 [INLONG-789][SDK] Fix the explanation of the meaning of the
HTTP return value is not synchronized with the sample code (#790)
793e27e327 is described below
commit 793e27e327746ef85d08d32a79d3144bc722e983
Author: xuesongxs <[email protected]>
AuthorDate: Wed Jun 28 17:35:44 2023 +0800
[INLONG-789][SDK] Fix the explanation of the meaning of the HTTP return
value is not synchronized with the sample code (#790)
---
docs/sdk/dataproxy-sdk/http.md | 4 ++--
versioned_docs/version-1.5.0/sdk/dataproxy-sdk/http.md | 4 ++--
versioned_docs/version-1.6.0/sdk/dataproxy-sdk/http.md | 4 ++--
versioned_docs/version-1.7.0/sdk/dataproxy-sdk/http.md | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/docs/sdk/dataproxy-sdk/http.md b/docs/sdk/dataproxy-sdk/http.md
index bf50f65782..159884836c 100644
--- a/docs/sdk/dataproxy-sdk/http.md
+++ b/docs/sdk/dataproxy-sdk/http.md
@@ -24,8 +24,8 @@ curl -X POST -d
'groupId=give_your_group_id&streamId=give_your_stream_id&dt=data
| return value | meaning |
|--------------|---------|
-| 1 | Success |
-| !=1 | Failure |
+| 0 | Success |
+| !=0 | Failure |
## Method 2:Encapsulate the HTTP client(Java)
The following packages need to be imported first
`httpclient`、`commons-lang3`、`jackson-databind` code example:
diff --git a/versioned_docs/version-1.5.0/sdk/dataproxy-sdk/http.md
b/versioned_docs/version-1.5.0/sdk/dataproxy-sdk/http.md
index 3a92578ba5..edcd03f1cc 100644
--- a/versioned_docs/version-1.5.0/sdk/dataproxy-sdk/http.md
+++ b/versioned_docs/version-1.5.0/sdk/dataproxy-sdk/http.md
@@ -24,8 +24,8 @@ curl -X POST -d
'groupId=give_your_group_id&streamId=give_your_stream_id&dt=data
| return value | meaning |
|--------------|---------|
-| 1 | Success |
-| !=1 | Failure |
+| 0 | Success |
+| !=0 | Failure |
## Method 2:Encapsulate the HTTP client(Java)
The following packages need to be imported first
`httpclient`、`commons-lang3`、`jackson-databind` code example:
diff --git a/versioned_docs/version-1.6.0/sdk/dataproxy-sdk/http.md
b/versioned_docs/version-1.6.0/sdk/dataproxy-sdk/http.md
index 3a92578ba5..edcd03f1cc 100644
--- a/versioned_docs/version-1.6.0/sdk/dataproxy-sdk/http.md
+++ b/versioned_docs/version-1.6.0/sdk/dataproxy-sdk/http.md
@@ -24,8 +24,8 @@ curl -X POST -d
'groupId=give_your_group_id&streamId=give_your_stream_id&dt=data
| return value | meaning |
|--------------|---------|
-| 1 | Success |
-| !=1 | Failure |
+| 0 | Success |
+| !=0 | Failure |
## Method 2:Encapsulate the HTTP client(Java)
The following packages need to be imported first
`httpclient`、`commons-lang3`、`jackson-databind` code example:
diff --git a/versioned_docs/version-1.7.0/sdk/dataproxy-sdk/http.md
b/versioned_docs/version-1.7.0/sdk/dataproxy-sdk/http.md
index 3a92578ba5..edcd03f1cc 100644
--- a/versioned_docs/version-1.7.0/sdk/dataproxy-sdk/http.md
+++ b/versioned_docs/version-1.7.0/sdk/dataproxy-sdk/http.md
@@ -24,8 +24,8 @@ curl -X POST -d
'groupId=give_your_group_id&streamId=give_your_stream_id&dt=data
| return value | meaning |
|--------------|---------|
-| 1 | Success |
-| !=1 | Failure |
+| 0 | Success |
+| !=0 | Failure |
## Method 2:Encapsulate the HTTP client(Java)
The following packages need to be imported first
`httpclient`、`commons-lang3`、`jackson-databind` code example: