made post params consistend with body and query params in request

issue #2093
small refactoring + cleanup request