rybalkinsd / kohttp

Kotlin DSL http client
https://kohttp.gitbook.io
Apache License 2.0
478 stars 42 forks source link

My APP crash #181

Closed Gius-8 closed 4 years ago

Gius-8 commented 4 years ago

Hello, I have a problem with my app when I use this library. When I make a GET request the app crashes. I'm using this instruction: val response: Response = "https://google.com/search?q=iphone".httpGet() Any solution for me? Thank you :)

simonenkoi commented 4 years ago

@Gius-8 could you define an exception that results app crash? I had one while trying to convert the body to JSON and manual setting of com.squareup.okhttp3.okhttp dependency to 4.0.1 version helped

rybalkinsd commented 4 years ago

Feel free to reopen with crash report and more details of what happened