Skip to content

Fetch command

Alvin Cheng edited this page Jan 9, 2023 · 1 revision

Description

This is the fetch command, this command will send a GET request to a server specified in parameter 1 and return the response into the variable in parameter 2.

GET request??

request to a remote server via http has many types this includes POST, PUT and more. A GET request is also one of them, a get request as the name suggests gets/fetches data from a server.

Example

$VARIABLE = (fetch "https://<URL>");

Clone this wiki locally