Creating a base HTTP service