Skip to content

Commit c1c1e5e

Browse files
committed
fix protocol
Signed-off-by: Pranav Singh <pranavsingh02@hotmail.com>
1 parent 7b672df commit c1c1e5e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

content/en/cloud/reference/_index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,21 @@ To authenticate with the API, pass the token as a bearer token in the `Authoriza
2020

2121
```bash
2222

23-
curl protocol://<Layer5-cloud-hostname>/<API> \
23+
curl <protocol>://<Layer5-cloud-hostname>/<API> \
2424
-H "Authorization: Bearer <token>"
2525

2626
```
2727

2828
{{< alert title="Note" >}}
29+
30+
Replace `<protocol>` with `http` or `https` based on your Layer5 Cloud instance, if its on-prem or exposed on web.
31+
2932
Replace `<Layer5-cloud-hostname>` with the hostname or IP address of your hosted Layer5 Cloud instance. For example, [`https://cloud.layer5.io`](https://cloud.layer5.io).
3033

3134
Replace `<API>` with the API endpoint you want to access. For example, [`/api/identity/users/profile`](https://cloud.layer5.io/api/identity/users/profile).
3235

3336
Replace `<token>` with the security token you generated.
37+
3438
{{< /alert >}}
3539

3640
### API Endpoints

0 commit comments

Comments
 (0)