This is an automated email from the ASF dual-hosted git repository.
dybyte 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 1a9cb682de [Improve][Docs] Optimize http connector source related
documents (#11282)
1a9cb682de is described below
commit 1a9cb682de7046c2cd3f85df6c804bdeb0996186
Author: xuepeng <[email protected]>
AuthorDate: Fri Jul 3 23:30:57 2026 +0800
[Improve][Docs] Optimize http connector source related documents (#11282)
---
docs/en/connectors/source/Http.md | 2 +-
docs/zh/connectors/source/Http.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/en/connectors/source/Http.md
b/docs/en/connectors/source/Http.md
index 2d07388a86..3ea5f9d13f 100644
--- a/docs/en/connectors/source/Http.md
+++ b/docs/en/connectors/source/Http.md
@@ -256,7 +256,7 @@ The HTTP body is used to carry the actual data in requests
or responses, includi
The reference format is as follows:
```hocon
-body="{"id":1,"name":"seatunnel"}"
+body="""{"id":1,"name":"seatunnel"}"""
```
For form submissions,please set the content-type as follows.
diff --git a/docs/zh/connectors/source/Http.md
b/docs/zh/connectors/source/Http.md
index defc7c664f..3ff91465b4 100644
--- a/docs/zh/connectors/source/Http.md
+++ b/docs/zh/connectors/source/Http.md
@@ -245,7 +245,7 @@ HTTP body 用于在请求或响应中携带实际数据,包括 JSON、表单
参考格式如下:
```hocon
-body="{"id":1,"name":"seatunnel"}"
+body="""{"id":1,"name":"seatunnel"}"""
```
对于表单提交,请按如下设置 content-type。