404 error
尝试使用此POST
方法时我得到一个:
@POST
@Path("/upload/new/{containerId}")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.MULTIPART_FORM_DATA)
public Response create(@PathParam("containerId") String containerId,@QueryParam("documentType") DocumentType documentType, MultipartFormDataInput request) {
...
}
这是url-exemple
正确的吗?:.../rest/upload/new/110/?documentType=logo
如果不是,我应该如何用这个 QueryParams 写它?documentType