Top "Media-type" questions

"A media type (formerly known as MIME type) is a two-part identifier for file formats and format contents transmitted on the Internet.

Spring 3.1 or Later @RequestMapping Consumes/Produces

I have a question in regards to the consumes and produces part of the @RequestMapping. I have an endpoint that …

java spring rest spring-mvc media-type
CSS media type: How to load CSS for mobile?

With this code: <link rel="stylesheet" type="text/css" href="media/css/mobile.css" media="handheld" /> <link …

css mobile opera-mini media-type
The remote server returned an error: (415) Unsupported Media Type

I try to upload a text file from WPF RESTful client to ASP .NET MVC WebAPI 2 website. Client code HttpWebRequest …

c# asp.net-web-api httpwebrequest media-type
How to change Content-Type of GET-Request via firefox addon RESTClient

I want to send GET-Requests which shall be answered by my REST-API. My java programm currently supports text/plain, text/…

rest jersey content-type rest-client media-type
Jersey REST WS Error: "Missing dependency for method... at parameter at index X"

I am getting the following error: Apr 09, 2013 12:24:26 PM com.sun.jersey.spi.inject.Errors processErrorMessages SEVERE: The following errors and …

java rest jersey media-type
Spring REST Controller content/type not supported for all content types

I'm trying to create a Web Service that consumes an HTML which is later used to create a PDF with …

java spring spring-mvc postman media-type
Spring MVC with Jackson 2.2: "HttpMediaTypeNotAcceptableException: Could not find acceptable representation"

So I'm struggling to get my beans encoded in json... First I tried with codehaus' jackson 1.9.13 and Spring MVC 3.1.1. I …

json web-services spring-mvc jackson media-type
Why is MIME media type application/zip not found?

I need to return zip file in my rest Api but i receive MIME media type application/zip was not …

java web-services rest media-type
Issue with restcontroller and application/x-www-form-urlencoded;charset=UTF-8 media type

Task is trivial client sends request using POST with application/x-www-form-urlencoded media type. Server receives and response with status OK. …

java spring rest controller media-type
In Spring Boot, adding a custom converter by extending MappingJackson2HttpMessageConverter seems to overwrite the existing converter

I'm trying to create a converter for a custom media-type like application/vnd.custom.hal+json. I saw this answer …

java spring rest spring-boot media-type