Retrofit - Send a simple POST Request | Android Studio Tutorial | Kotlin

preview_player
Показать описание
Hello Doctor Speed Coders

Retrofit is a Type Safe REST client for Android developed by Square. It uses the okHttp library for HTTP requests and is one of the best tools for executing network requests in Android applications. In this video I will show you how to submit a simple POST request, get the result in JSON, convert it to a Kotlin object and display it in our application. So with this video I start a new short tutorial series about the Retrofit library, so stay tuned!

Related playlists:

Project Github:

Libraries:

// retrofit library

// Coroutines

#doctor_speed_code #retrofit
Рекомендации по теме
Комментарии
Автор

Great vid. Finally someone using Coroutines to make a Post Request. I figured it would be the same as making a GET Request, so it's nice to see my hunch was right.

OEThe
Автор

Great video, Do you know how to include an api key in the parameters?

xphis
Автор

How to link simple Android UI screen with retrofit get request using kotlin api

imudhay
Автор

@doctorspeedcode3589 this is not working, I wrote the same, everything but the call is not getting to my server and app crashed after some time as sockets remain open. Please help.

mohammadamirqureshi