Client side migrate to curl