@minecraft/server-net module contains types for executing HTTP-based requests. This module can only be used on Bedrock Dedicated Server.
NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.
See full documentation for this module here: