fix postRequest getRequest in helper