It (only) works with @Consumes(MediaType.APPLICATION_JSON) On Thursday, September 20, 2018 at 1:56:16 PM UTC+2, Kristofer Kjellgren wrote: > > Hello! > > I am getting this curl response (using 'Content-Type:application/xml' > header): > > {"code":415,"message":"HTTP 415 Unsupported Media Type"} when I try to > POST application/xml. > > Does DropWizard support @Consumes(MediaType.APPLICATION_XML)? > >
-- You received this message because you are subscribed to the Google Groups "dropwizard-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.