Skip to content

Commit 0564163

Browse files
committed
readme time
1 parent c03a03a commit 0564163

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

readme.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Web Requests
2+
3+
-# By AFancyDog
4+
5+
The Web Requests mod adds one command, `/request`, which contains the two sub-commands `get` and `post`
6+
7+
## `Get`
8+
9+
`/request get <URL> <headers>`
10+
example:
11+
`/request get https://example.com "foo:bar:::hello:world"`
12+
13+
## `Post`
14+
15+
`/request post <URL> <headers> <body>`
16+
17+
### URL
18+
19+
A string _that should be contained in quotation marks ("")_
20+
21+
### headers
22+
23+
headers are formatted like so: `key1:value1:::key2:value2`, triple semicolons are the equivalent of a comma
24+
25+
### body
26+
27+
the body is a string _also in quotation marks ("")_

0 commit comments

Comments
 (0)