add POST and GET annotation