change to curl http get