mocked request to test POST params