Skip to content

AFancyDog/Web-Requests

Repository files navigation

Web Requests

By AFancyDog

The Web Requests mod adds one command, /request, which contains the two sub-commands get and post

Get

/request get <URL> <headers> example: /request get https://example.com "foo:bar:::hello:world"

Post

/request post <URL> <headers> <body>

URL

A string that should be contained in quotation marks ("")

headers

headers are formatted like so: key1:value1:::key2:value2, triple colons separate the headers

body

the body is a string also in quotation marks ("")