<@U7FA5SHKQ> can you debug the traffic and then re...
# server
d
@utikeev can you debug the traffic and then reproduce with curl?
u
Oh, well. It seems like my bad, as I forgot to open connection for the URL I'm using.
d
which HTTP client are you using? You probably shouldn't be needing to open url connections unless you're writing an HTTP client!
u
Hm, if I use it object way like this:
<http://Fuel.post|Fuel.post>(url).[...]
it works without opening the connection.
Okay, not it works both ways I'm totally lost, because it seems to me as the code I had 2 hours ago not working in the same case 😅
n
@utikeev - Sounds like Fuel isn't properly tested/mature. At this point I would recommend going with OkHttp (http://square.github.io/okhttp/). If you have used Vert.x before then the vertx-web-client (http://vertx.io/docs/vertx-web-client/kotlin/) is another good option with solid Kotlin support.
c
Probably not worth pulling vert.x as a dependency for a simple HTTP call
n
Cedric - True unless vertx-core is used in the project, or the project relies on a server side project written using Vert.x.