I'm surprised that AfterEffects plugins are allowed full shell access, and aren't sandboxed in any way.
Besides - network access is one of the most basic functionalities of any scripting in 2023 (it was in 2013, too). How would one disallow a simple call like in the OP? I mean, they use curl to make it (even) easier to craft an HTTP call, but doing the same from straight system calls is trivial, too.