cugwangping commented on issue #5761:
URL: https://github.com/apache/seatunnel/issues/5761#issuecomment-1786519205
This is my another test case, the response is still 500,exception is ERROR
org.apache.seatunnel.connectors.seatunnel.http.source.HttpSourceReader - http
client execute exception, http response status code:[500],
content:[{"timestamp":"2023-10-31T06:15:48.040+00:00","status":500,"error":"Internal
Server Error","path":"/example/login"}],config content is
{
"env": {
"execution.parallelism": 1,
"job.mode": "BATCH"
},
"source": [{
"plugin_name": "Http",
"url": "http://127.0.0.1:8080/example/login",
"format": "json",
"method": "POST",
"schema": {
"fields": {
"msg": "String",
"code": "String"
}
},
"json_field": {
"msg": "$.msg",
"code": "$.code"
},
"headers": {
"Content-Type": "multipart/form-data"
},
"params": {
"username": "admin",
"password": "12345"
},
"result_table_name": "source"
}],
"sink": [{
"plugin_name": "Console",
"source_table_name": "source"
}]
}
Please help me see what is wrong with the content of config? Thanks!
--
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]