remove curl dependency, use Network.HTTP