@POST @Path("functionname") @Consumes({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML,MediaType.TEXT_HTML}) @Produces(MediaType.APPLICATION_JSON) public String functionname(@FormParam("sc") String sc,@FormParam("cp")company cp) { if (fn.checkSTring(sc)) { return new Login().Updatefunction(cp); } else { return "Wrong Parameters Sent"; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)