HTTP request and response

Android client
1. form http request, send request to USGS

working with URL
https://docs.oracle.com/javase/tutorial/networking/urls/

Web API Endpoint Reference

Web API Endpoint Reference

HTTPConection
https://developer.android.com/reference/java/net/HttpURLConnection.html

   URL url = new URL("http://www.android.com/");
   HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
   try {
     InputStream in = new BufferedInputStream(urlConnection.getInputStream());
     readStream(in);
   } finally {
     urlConnection.disconnect();
   }