Error http get

I created a login you need to make a “http get” to a URL but gets me the following


Fatal error: Call to undefined function Piwik\Plugins\(my plugin)\http_get()

What am I doing wrong?

To HTTP Get a URL, you can use this class: Http - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3

For example:

Http::fetchRemoteFile($url)

Thank you very much!