Hi,
you can start with https://docs.oracle.com/javase/7/docs/api/java/net/HttpURLConnection.html. If you need more sophisticated things like authentication cookies etc you can use https://hc.apache.org/
There is a neat project which generates you a proxy based on you interface https://github.com/mmazi/rescu.