Hi all,
I'm trying to use ktor 1.2.2 with Curl engine to call REST API on Windows, but it always returns the following excpetion. Could you kindly give some comments? Thanks.
Console log:
HttpClient: REQUEST:
https://postman-echo.com/get?foo1=bar1&foo2=bar2
HttpClient: METHOD: HttpMethod(value=GET)
HttpClient: COMMON HEADERS
HttpClient: -> Accept-Charset: UTF-8
HttpClient: -> Accept:
/
HttpClient: CONTENT HEADERS
HttpClient: REQUEST
https://postman-echo.com/get?foo1=bar1&foo2=bar2 failed with exception:
io.ktor.client.engine.curl.CurlIllegalStateException:
Connection failed for request: io.ktor.client.engine.curl.internal.CurlRequestData@48bd218