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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

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