Skip to content

Commit cd8d529

Browse files
committed
Add missing HTTP predefined variables
1 parent bf19ddd commit cd8d529

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

web/src/pages/reference/Predefined_variables.astro

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,15 @@ addEventHandler("onPlayerResourceStart", root, init)`/>
116116
<h4>HTTP</h4>
117117
<p>List Predefined variables available in the HTTP files (<a href="/reference/Resource_Web_Access">more info about it</a>).</p>
118118

119-
<Code lang="lua" code=`requestHeaders -- table, contains all HTTP headlines current page.
119+
<Code lang="text" code=`requestHeaders -- table, contains all HTTP headlines current page.
120120
form -- table, contains all POST and GET settings, transferred current page.
121121
cookies -- table, contains all COOKIE, transferred current page.
122122
hostname -- string, contains IP or name host, which requested current page.
123123
url -- string, URL current page.
124-
user -- element, account user, which requested current page.`/>
124+
user -- element, account user, which requested current page.
125+
requestBody - string, contains body of the request.
126+
method - string, contains method of the request (GET, POST, etc.).
127+
`/>
125128

126129
<SeeAlsoSection seeAlsoLinks={getSeeAlsoLinksFromList([
127130
'reference:Element_tree',

0 commit comments

Comments
 (0)