Build http endpoint framework