'How to use LabelInfo() in HttpLabel()? When I use the following code I am getting 412 status code?

When I tried using below code I am getting 412 status code and all the setup is done and initialization is also done.

HttpLabel hl = new HttpLabel(folderPath1,new LabelInfo("default",LabelInfo.XML_LABEL_SET)); HttpResponse response = client.execute(hl); System.out.println(response.getStatusLine());



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source