Use HTTP headers for content-type instead of query string