jackyyyyyssss commented on code in PR #5816:
URL: https://github.com/apache/seatunnel/pull/5816#discussion_r1389032051
##########
seatunnel-connectors-v2/connector-http/connector-http-base/src/main/java/org/apache/seatunnel/connectors/seatunnel/http/source/HttpSourceFactory.java:
##########
@@ -49,7 +61,6 @@ public OptionRule.Builder getHttpBuilder() {
.optional(HttpConfig.FORMAT)
.optional(HttpConfig.JSON_FIELD)
.optional(HttpConfig.CONTENT_FIELD)
- .conditional(HttpConfig.METHOD, HttpRequestMethod.POST,
HttpConfig.BODY)
Review Comment:
Because when using the param parameter, the post method is also used without
a body
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]