The getData function works on my pc.