kim-up commented on issue #4666:
URL:
https://github.com/apache/incubator-seatunnel/issues/4666#issuecomment-1521681167
@wenyongning1 You can avoid this problem by putting the time parameter in
`params` instead of splicing it after the Url. Because, in this way, the
parameters can be encodedUrlForm automatically when calling `Http` . As follows:
```
source {
Http {
url = "http://mockserver:1080/jsonpath/mock",
method = "GET",
params {
startTime = "2023-04-18 2016:25:00",
endTime = "2023-04-18 2016:30:00"
}
}
```
Eventually the entire Url will be converted to:
http://mockserver:1080/jsonpath/mock?startTime=2023-04-18+2016%3A25%3A00&endTime=2023-04-18+2016%3A30%3A00
--
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]