Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions content/en-us/reference/engine/classes/HttpService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,71 @@ methods:
</tbody>
</table>

#### HTTP Methods

The HTTP request methods specify the purpose of the request being made and what is expected if the request is successful.
For instance: The [`GET`](https://developer.mozilla.org/docs/Web/HTTP/Methods/GET) request method tells the server at the requested address that a resource is being requested and if
it succeeds, the resource at that address will be returned. Similarly, the [`HEAD`](https://developer.mozilla.org/docs/Web/HTTP/Methods/HEAD) request method does the same except the
server knows to return a response without a `Body` element.

<table>
<thead>
<tr>
<th>Method</th>
<th>Description</th>
<th>Supported</th>
<th>Safe</th>
</tr>
</thead>
<tbody>
<tr>
<td><b>[`GET`](https://developer.mozilla.org/docs/Web/HTTP/Methods/GET)</b></td>
<td>The `GET` method requests the resource at the specified address. Does not support use of the `Body` parameter.</td>
<td>Yes</td>
</tr>
<tr>
<td><b>[`HEAD`](https://developer.mozilla.org/docs/Web/HTTP/Methods/HEAD)</b></td>
<td>The `HEAD` method requests a response identical to a `GET` request, but with no response body. Does not support use of the `Body` parameter.</td>
<td>Yes</td>
</tr>
<tr>
<td><b>[`POST`](https://developer.mozilla.org/docs/Web/HTTP/Methods/POST)</b></td>
<td>The `POST` method submits the supplied `Body` data to the requested address.</td>
<td>Yes</td>
</tr>
<tr>
<td><b>[`PUT`](https://developer.mozilla.org/docs/Web/HTTP/Methods/PUT)</b></td>
<td>The `PUT` method replaces all current iterations of the resource specified within the supplied `Body` data.</td>
<td>Yes</td>
</tr>
<tr>
<td><b>[`DELETE`](https://developer.mozilla.org/docs/Web/HTTP/Methods/DELETE)</b></td>
<td>The `DELETE` method deletes the resource specified in the supplied `Body` data at the requested address.</td>
<td>Yes</td>
</tr>
<tr>
<td><b>[`CONNECT`](https://developer.mozilla.org/docs/Web/HTTP/Methods/CONNECT)</b></td>
<td>The `CONNECT` method establishes a tunnel to the requested server identified with the supplied `Body` data.</td>
<td>No</td>
</tr>
<tr>
<td><b>[`OPTIONS`](https://developer.mozilla.org/docs/Web/HTTP/Methods/OPTIONS)</b></td>
<td>The `OPTIONS` method requests the permitted communication options for the supplied address.</td>
<td>Yes</td>
</tr>
<tr>
<td><b>[`TRACE`](https://developer.mozilla.org/docs/Web/HTTP/Methods/TRACE)</b></td>
<td>The `TRACE` method performs a message loop-back test along the path to the resource specified in the supplied `Body` data.</td>
<td>Yes</td>
</tr>
<tr>
<td><b>[`PATCH`](https://developer.mozilla.org/docs/Web/HTTP/Methods/PATCH)</b></td>
<td>The `PATCH` method applies partial changes to the resource specified in the supplied `Body` data at the requested address.</td>
<td>Yes</td>
</tr>
</tbody>
</table>

#### HTTP Headers

In the request dictionary, you can specify custom HTTP headers to use in
Expand Down
9 changes: 9 additions & 0 deletions tools/checks/utils/allowedHttpLinks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -593,3 +593,12 @@ https://github.com/evaera/roblox-animation-transfer
https://support.tipalti.com/Content/Topics/UserGuide/PaymentInformation/PaymentMethodsCoverage/IntroUSD.htm?Highlight=payment%20coverage#USD
https://github.com/Roblox/creator-docs/tree/main/content/en-us/reference/cloud
https://www.youtube.com/playlist?list=PLuEQ5BB-Z1PK3EcpypEHHMlc2lknQCJyP
https://developer.mozilla.org/docs/Web/HTTP/Methods/GET
https://developer.mozilla.org/docs/Web/HTTP/Methods/HEAD
https://developer.mozilla.org/docs/Web/HTTP/Methods/POST
https://developer.mozilla.org/docs/Web/HTTP/Methods/PUT
https://developer.mozilla.org/docs/Web/HTTP/Methods/DELETE
https://developer.mozilla.org/docs/Web/HTTP/Methods/CONNECT
https://developer.mozilla.org/docs/Web/HTTP/Methods/OPTIONS
https://developer.mozilla.org/docs/Web/HTTP/Methods/TRACE
https://developer.mozilla.org/docs/Web/HTTP/Methods/PATCH
Loading