Using http api rather than DNS