support POST and DELETE