added POST and GET