Add base of HTTP API and resources.