You can do that, but you will need to parse the content yourself. Publish a REST operation that takes a String as a body parameter.