This code returns nothing or a “failed with” message. if you are getting nothing you didn’t update the code to do something with $data
You need to add code to // do stuff with data
And if something is not working, you need to post you code and describe whats not working
Means nothing