REST2 - Create Ticket with HTML

I am using RT 5.0.3. Is there any way to create tickets with HTML instead of plain text (application/json). I tried setting content type as text/html, but RT returned “Unsupported media type” message. We can create HTML tickets via webui, but I want to create the same via API. The API works fine creating plain text tickets.