Adapting to HTTP API changes