This commit is contained in:
Stephen McLaughlin
2024-12-10 15:28:00 +08:00
committed by GitHub
3 changed files with 45 additions and 8 deletions

View File

@@ -19,8 +19,18 @@
<h3>Outputs</h3>
<dl class="message-properties">
<dt>payload</dt>
<dd>For a GET request, contains an object of any query string parameters.
Otherwise, contains the body of the HTTP request.</dd>
<dd>
<ul>
<li><code>GET</code> - <code>payload</code> contains an object of any query string parameters passed in the HTTP Request </li>
<li><code>POST</code> - <code>payload</code> contains the body of the HTTP Request </li>
<li><code>PUT</code> - <code>payload</code> contains the body of the HTTP Request </li>
<li><code>DELETE</code> - <code>payload</code> contains the body of the HTTP Request </li>
<li><code>PATCH</code> - <code>payload</code> contains the body of the HTTP Request </li>
<li><code>HEAD</code> - <code>payload</code> the HEAD method has no payload </li>
<li><code>OPTIONS</code> - <code>payload</code> contains the body of the HTTP Request </li>
<li><code>TRACE</code> - <code>payload</code> contains the details of the HTTP Request in the body </li>
</ul>
</dd>
<dt>req<span class="property-type">object</span></dt>
<dd>An HTTP request object. This object contains multiple properties that
provide information about the request.