You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importorg.cactoos.http.HtBodyimportorg.cactoos.http.HtResponseimportorg.cactoos.text.TextOfimportjava.io.Filefunmain(args:Array<String>) {
val body =TextOf(
HtBody(
HtResponse("http://www.google.com") // <-- at this point HtResponse want a second parameter before URL, some Wire.
)
).asString()
}
If this code not suppose to work, tell me please how i should make simple GET request.
The text was updated successfully, but these errors were encountered:
I try use GET request example as presented in
readme.md
at sectionHot to use it
Im creating simple console application in lates Intelij IDEA, adding gradle dependency like this
then in main function i wrote this
If this code not suppose to work, tell me please how i should make simple GET request.
The text was updated successfully, but these errors were encountered: