Migrating to an HTTP API