central module for get/post requests