Recent Posts

Site Creator

By

By

By

Complementary Post : Making HTTP Request in Android

Posted on

 

if we look above code snippet we will find java.net.URL class is imported. HttpURLConnection Class from the same package is used. Also we are making GET request.

 

 

if we are successful in making our GET request and getting response from server , connection.getInputStream() will return an  Input stream which can be read line by line and its data can be stored in a String buffer.

since String buffer contains response from server this String buffer can be utilised by our application.

 

Thanks

 

 

 

 

 

 

 







Disclaimer: The aforesaid writeup by Relsell Global writer is for the general understanding of the readers. It does not render any professional advice or opinion.

SHARE THIS PAGE!