Adds suport to send json and byte streaming in a single post request

Adds suport to send json and byte streaming in a single post request