This is an automated email from the ASF dual-hosted git repository.
liugddx pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 29b687d31f [improve][doc][Connector-V2][http] improve http doc param
body des (#5368)
29b687d31f is described below
commit 29b687d31f7edad963778ed885444565c334a1fa
Author: kk <[email protected]>
AuthorDate: Thu Aug 24 16:35:34 2023 +0800
[improve][doc][Connector-V2][http] improve http doc param body des (#5368)
* improve http doc
* modify des
* modify des
* recover pom
* update docs /en/connector-v2/source/Http.md fix code-stytle
---------
Co-authored-by: 80597928 <[email protected]>
---
docs/en/connector-v2/source/Http.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/en/connector-v2/source/Http.md
b/docs/en/connector-v2/source/Http.md
index 291835b93e..aa4067fe43 100644
--- a/docs/en/connector-v2/source/Http.md
+++ b/docs/en/connector-v2/source/Http.md
@@ -52,8 +52,8 @@ They can be downloaded via install-plugin.sh or from the
Maven central repositor
| format | String | No | json | The format of
upstream data, now only support `json` `text`, default `json`.
|
| method | String | No | get | Http request
method, only supports GET, POST method.
|
| headers | Map | No | - | Http headers.
|
-| params | Map | No | - | Http params.
|
-| body | String | No | - | Http body.
|
+| params | Map | No | - | Http params,the
program will automatically add http header application/x-www-form-urlencoded.
|
+| body | String | No | - | Http body,the
program will automatically add http header application/json,body is jsonbody.
|
| poll_interval_ms | Int | No | - | Request http
api interval(millis) in stream mode.
|
| retry | Int | No | - | The max retry
times if request http return to `IOException`.
|
| retry_backoff_multiplier_ms | Int | No | 100 | The
retry-backoff times(millis) multiplier if request http failed.
|