Refactor POST, GET, AND DELETE requests into static library