android send https post request to the server without deprecated metods -


in app used send request https following this source answer. of them apache methods deprecated. can me in order solve in new approach?

to avoid using deprecated methods in api connectivity, think using retrofit. it's third party library makes http communication simpler.

when using retrofit, can create interface of api endpoint , use method. rest of http request managed library.

here link retrofit github homepage: http://square.github.io/retrofit/


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -