[core] adding a curl http get method spacefox::get_data()