adding support for body parameters, POST and other fixes