Add support for POST and headers