Questions tagged [kohttp]
2 questions
4
votes
3 answers
How to Asynchrounsly call HTTP Post API?
I have an issue with my android app. I'm fairly new with it and have some issues with finding the correct documentation for a asynchronous. I'm using the kohttp library to help me a bit.
The thing is, you can't run this on the main UI thread so I…

Synthiatic
- 261
- 1
- 16
1
vote
1 answer
Kotlin Http client. Add parameters from map to request
I use kohttp to send requests to my service, but I got stuck.
Lets imagine that we have a function, that creates a request with some parameters that are represented as Map, and also append to them one or more additional param.
override fun…

Evgeny Vorobyov
- 41
- 5