Built-in functions: Network

Built-in functions: Network

@fetch_url <url>

Fetches the content of a URL. Returns an object with keys like response , code.

$response:@fetch_url “http://localhost

@print $response

> arr:

> [

> response => <!DOCTYPE html ><html></html>

>

> code => 200

> ]