/**
  * PUT method for updating or creating an instance of StatusResource
  *
  * @param content representation for the resource
  * @return an HTTP response with content of the updated or created resource.
  */
 @POST
 // @Consumes(MediaType.APPLICATION_JSON)
 @Produces("application/json")
 public void addStatus(@FormParam("statusname") String statusname, @FormParam("id") String id) {
   Status status = new Status();
   status.setStatus_id(Integer.parseInt(id));
   status.setStatusName(statusname);
   sdi.addStatus(status);
 }