How to use ZC API METHODS

How to use ZC API METHODS

I am new in the   ZC API METHODS.
I tried to use the  REST API METHODS LIST (urlhttp://api.wiki.zoho.com/REST-API-Methods.html).

For test purpose I  have a JAVA  program that use the view Record - Get Method (urlhttp://api.wiki.zoho.com/ZC---View-Record.html).

Find bellow the program. Due to security reason I do not include my apikey.

When I run the program I do not get nothing !

can some one help me ?

Antonio












-------------JAVA--------------

public static void main4 () throws Exception  {
      String thisLine;
      URL url = new URL("http://creator.zoho.com/api/json/gestao/view/teste_View/apikey=<my_api_key>");

      DataInputStream theHTML = new DataInputStream(url.openStream());
      while ((thisLine = theHTML.readLine()) != null) {
        System.out.println(thisLine);
      } // while loop ends here
   
}