mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix discrepancy between documentation and implementation for httprequest node
This commit is contained in:
parent
e5d579c1bb
commit
cdc8fa5144
@ -21,6 +21,7 @@
|
|||||||
<option value="GET">GET</option>
|
<option value="GET">GET</option>
|
||||||
<option value="POST">POST</option>
|
<option value="POST">POST</option>
|
||||||
<option value="PUT">PUT</option>
|
<option value="PUT">PUT</option>
|
||||||
|
<option value="PATCH">PUT</option>
|
||||||
<option value="DELETE">DELETE</option>
|
<option value="DELETE">DELETE</option>
|
||||||
<option value="HEAD">HEAD</option>
|
<option value="HEAD">HEAD</option>
|
||||||
<option value="use" data-i18n="httpin.setby"></option>
|
<option value="use" data-i18n="httpin.setby"></option>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<dd>If not configured in the node, this optional property sets the url of the request.</dd>
|
<dd>If not configured in the node, this optional property sets the url of the request.</dd>
|
||||||
<dt class="optional">method <span class="property-type">string</span></dt>
|
<dt class="optional">method <span class="property-type">string</span></dt>
|
||||||
<dd>If not configured in the node, this optional property sets the HTTP method of the request.
|
<dd>If not configured in the node, this optional property sets the HTTP method of the request.
|
||||||
Must be one of <code>GET</code>, <code>PUT</code>, <code>POST</code>, <code>PATCH</code> or <code>DELETE</code>.</dd>
|
Must be one of <code>GET</code>, <code>PUT</code>, <code>POST</code>, <code>PATCH</code>, <code>DELETE</code> or <code>HEAD</code>.</dd>
|
||||||
<dt class="optional">headers <span class="property-type">object</span></dt>
|
<dt class="optional">headers <span class="property-type">object</span></dt>
|
||||||
<dd>Sets the HTTP headers of the request. NOTE: Any headers set in the node configuration will overwrite any matching headers in <code>msg.headers</code> </dd>
|
<dd>Sets the HTTP headers of the request. NOTE: Any headers set in the node configuration will overwrite any matching headers in <code>msg.headers</code> </dd>
|
||||||
<dt class="optional">cookies <span class="property-type">object</span></dt>
|
<dt class="optional">cookies <span class="property-type">object</span></dt>
|
||||||
|
Loading…
Reference in New Issue
Block a user