package com.ryancatlin.request;

import java.util.HashMap;

import com.github.kevinsawicki.http.*;

/**
 * Hello world!
 *
 */
public class App 
{

    public static void main( String[] args )
    {
        String quotesUrl = "http://www.iheartquotes.com/api/v1/random";
        HttpRequest request = HttpRequest.get(quotesUrl);

        int code = request.code();
        if (code == 200) {
            String body = request.body();
            System.out.println(body);
        } else {
            System.out.println("Unsuccessfull." + " " + code);
        }
    }
}

@@ -30,35 +30,8 @@
 t;%0A%0A
-import java.util.HashMap;%0A%0A
 impo
@@ -77,20 +77,43 @@
 %0A * 
-Hello world!
+Print a random quote to system out.
 %0A *%0A

Update App.java comment