title: Jersey client REST API generates http 403 error
body: <p>Jersey client REST-API on mine java project generate HTTP 403 error. Though this project running fine for calling other Restful API except fake online based REST API <code>JSONPlaceholder</code>. Please find mine following code :</p>
  
  <pre><code>public static void main(String[] args) throws IOException {
      // TODO Auto-generated method stub
      Client client = Client.create();
      WebResource webResource =   client.resource("http://jsonplaceholder.typicode.com/posts");
      ClientResponse response = webResource.accept("application/json")
              .get(ClientResponse.class);
      if(response.getStatus() != 200) {
          throw new RuntimeException("Failed http error code :" + response.getStatus());
      }
      String output = response.getEntity(String.class);
      System.out.println(output);
  </code></pre>
  
  <h3>Error:</h3>
  
  <p><img src="https://i.stack.imgur.com/wCsDW.png" alt="Click this link to see error ! "></p>