Example of work with HttpUrlConnection in Android with Kotlin To run server use npm to install json-server and db.json form /server folder.