[PATCH v2] httpapi: Add more entrypoints