title: Consuming REST API with Java
body: <p>I have a management web application located on a remote server. This app was written using a MEAN stack and I have a list of all the RESTful routes necessary to connect to the web app.</p>
  
  <p>I am writing a Java client application that needs to send and receive data from this management app. How do connect the client to the web application if I have the server's IP address and REST routes?</p>
  
  <p>I imagine that I need to provide a URL connection to the server and the REST API file and then just call the route functions like <code>PUT</code> and <code>GET</code>.</p>