0

What is the best way to deal with rest api services (post,get, put, and delete) in Android Studio. I have an api to check user name and password wokring very well in Postman, as:

http://68.183.162.00:8082/api/v1/cattg/login/

which accepts and provides JSON array.

  • I'm not entirely sure what you are after here. Is the question rather how to consume a REST api in Kotlin? Also I noticed your API doesn't use SSL, which means your network traffic will not be encrypted – Leon May 01 '21 at 08:00
  • I'm using Java. –  May 01 '21 at 08:03
  • Does this answer your question? [How do you create a REST client for Java?](https://stackoverflow.com/questions/221442/how-do-you-create-a-rest-client-for-java) – Leon May 01 '21 at 08:09
  • I think you are looking for retrofit . – Aditya Kurkure May 01 '21 at 08:32
  • You can also look into [Volley](https://developer.android.com/training/volley/) – dkoukoul Feb 04 '22 at 13:08

0 Answers0