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' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -