Thursday, January 19, 2017

php - How do i send form-data or form-urlencocded data in Kotlin Android Studio?

Answer


I have to send a request to an API call which takes data at :




https://www.example.com/abc/abc/Register.php




It takes POST data such as mobile = 1234567989 and id = 12345
in Postmen the data goes in the body as form-data or x-www-form-urlencoded with keys and values.




How do I do that in android studio using kotlin?

No comments:

Post a Comment