API used to communicate on Android...

Asked 2 years ago, Updated 2 years ago, 63 views

I am currently using an API called RestTemplate I'm communicating with the serverten thousand Sometimes it gets cut off when I try to communicate.

If you have a communication API to recommend, please leave a comment~

And I wonder if RestTemplate API is okay :0

resttemplate

2022-09-21 20:32

2 Answers

Android uses Retrofit a lot.

If you access it, there is a sample code, so you can easily apply it.

I don't know because I haven't used the Rest Template, but it's Spring.


2022-09-21 20:32

I recommend the link below that summarizes the comparison, analysis, and evaluation of the Android Http client library. It also includes the contents of the Rest Template you mentioned.

http://d2.naver.com/helloworld/377316

Personally, I voted for Retrofit :D


2022-09-21 20:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.