mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-06 18:00:28 +00:00
Add documentation for method and body parameters in redbean Fetch
This commit is contained in:
parent
afa3d2b8ea
commit
46da0d8572
1 changed files with 3 additions and 0 deletions
|
@ -572,6 +572,9 @@ FUNCTIONS
|
||||||
to be specified (for example, PUT or DELETE), then passing a table as
|
to be specified (for example, PUT or DELETE), then passing a table as
|
||||||
the second value allows setting method and body values as well other
|
the second value allows setting method and body values as well other
|
||||||
options:
|
options:
|
||||||
|
- method (default = "GET"): sets the method to be used for the
|
||||||
|
request. The specified method is converted to uppercase.
|
||||||
|
- body (default = ""): sets the body value to be sent.
|
||||||
- followredirect (default = true): forces temporary and permanent
|
- followredirect (default = true): forces temporary and permanent
|
||||||
redirects to be followed. This behavior can be disabled by
|
redirects to be followed. This behavior can be disabled by
|
||||||
passing `false`.
|
passing `false`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue