Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 541 Bytes

File metadata and controls

27 lines (15 loc) · 541 Bytes

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 ("")