Reputation: 1085
I get a 404 error
when trying to use this POST
method:
@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) {
...
}
Is this url-exemple
correct? : .../rest/upload/new/110/?documentType=logo
When not how should I whrite it with this QueryParams ?documentType
Upvotes: 0
Views: 358