Skip to content

Commit 547ca0e

Browse files
authored
clarify HttpEnabled
1 parent 43efabd commit 547ca0e

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

content/en-us/reference/engine/classes/HttpService.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,8 @@ description: |
2828
2929
##### Enable HTTP requests
3030
31-
Request-sending methods aren't enabled by default. To send requests, toggle on
32-
**Allow HTTP Requests** through the
33-
[Game Settings](../../../studio/game-settings.md) interface in Studio, or set
34-
`Class.HttpService.HttpEnabled|HttpEnabled` to `true` in the
35-
[Command Bar](../../../studio/ui-overview.md#command-bar) for **unpublished**
36-
experiences:
37-
38-
`game:GetService("HttpService").HttpEnabled = true`
31+
Request-sending methods aren't enabled by default. To send requests, you must
32+
[enable HTTP requests](#HttpEnabled) for your experience.
3933
4034
##### Use in plugins
4135
@@ -87,9 +81,17 @@ properties:
8781
summary: |
8882
Indicates whether HTTP requests can be sent to external websites.
8983
description: |
90-
When set to `true`, you are able to send requests to other websites using
84+
When set to `true`, allows scripts to send requests to websites using
9185
`Class.HttpService:GetAsync()`, `Class.HttpService:PostAsync()`, and
9286
`Class.HttpService:RequestAsync()`.
87+
88+
To send requests, this property must be toggled on through the
89+
[Game Settings](../../../studio/game-settings.md) interface in Studio, or
90+
for **unpublished** experiences, set this property to `true` using the
91+
[Command Bar](../../../studio/ui-overview.md#command-bar):
92+
93+
`game:GetService("HttpService").HttpEnabled = true`
94+
9395
code_samples:
9496
type: bool
9597
tags: []

0 commit comments

Comments
 (0)