Consume "application/x-www-form-urlencoded" Content-Type in REST Web Service (cxf:rsServer). Please provide your kind advice to get me solve following problem My REST web service services HTML Forms. Dr. Greg Bernstein.POST / HTTP/1.1 Host: foo.com Content-Type: application/x-www-form- urlencoded Content-Length: 13. sayHitoMom. I want to create a method in my API Service which will expect content type as application/x-www-form-urlencoded, while the other methods will continue to work with json. Can anyone help me with this implementation. This seems to work for html, but not for the type application/x-www-form- urlencoded.HTTP/1.1 500 Internal Server Error Server: Apache-Coyote/1.1 Content-Type: text/htmlcharsetutf-8 Content-Length: 1877 Date: Wed, 10 Sep 2014 14:04:32 GMT Connection: close. An HTML form by default sends data with content type application/x-www- form-urlencoded.