Compatibility
Minecraft: Java Edition
1.21.5
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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 ("")