Skip to content

Commit d36859b

Browse files
authored
Clarify that you should use JSON body for parameters (#34)
1 parent 4b41812 commit d36859b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

TEMPLATE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ When running this token server as a sandbox app, LiveKit hosts a public endpoint
1212
| ------------------ | ---------------------------- | ------------------------------ |
1313
| Method | `POST` | |
1414
| URL | `https://cloud-api.livekit.io/api/sandbox/connection-details` |
15-
| Query Parameters | `roomName` (optional) | (your room name) |
16-
| | `participantName` (optional) | (your participant name) |
15+
| Optional Parameters| `roomName` | (your room name) |
16+
| | `participantName` | (your participant name) |
1717
| Headers | `X-Sandbox-ID` | (your Sandbox ID) |
18+
| | `Content-Type` | `application/json` |
1819

1920
Generated tokens will have a default TTL of 15 minutes. Optional parameters not included in the request will be generated by the token server.
2021

0 commit comments

Comments
 (0)