Added support for parameters and headers on a post