Skip to content

Commit 8f6229d

Browse files
authored
README: Add default port to example cURL commands
Just discovered this today. The default port for obs-websocket-http is 4445, but the examples did not specify a non-80 port.
1 parent 951c5ad commit 8f6229d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ A request type is always required, however a json body depends on the underlying
2727
For a list of request types, refer to the [obs-websocket protocol docs](https://github.com/Palakis/obs-websocket/blob/4.x-current/docs/generated/protocol.md#requests)
2828

2929
## Example cURL commands:
30-
- `curl -XPOST -H "Content-type: application/json" -d '{"scene-name":"Scene 2"}' 'http://127.0.0.1/emit/SetCurrentScene'`
31-
- `curl -XPOST -H 'AuthKey: agoodpassword' -H "Content-type: application/json" -d '{"scene-name":"Scene 2"}' 'http://127.0.0.1/emit/SetCurrentScene'`
32-
- `curl -XPOST -H 'AuthKey: agoodpassword' -H "Content-type: application/json" 'http://127.0.0.1/call/GetSceneList'`
30+
- `curl -XPOST -H "Content-type: application/json" -d '{"scene-name":"Scene 2"}' 'http://127.0.0.1:4445/emit/SetCurrentScene'`
31+
- `curl -XPOST -H 'AuthKey: agoodpassword' -H "Content-type: application/json" -d '{"scene-name":"Scene 2"}' 'http://127.0.0.1:4445/emit/SetCurrentScene'`
32+
- `curl -XPOST -H 'AuthKey: agoodpassword' -H "Content-type: application/json" 'http://127.0.0.1:4445/call/GetSceneList'`
3333

3434
## IRLTookit Links
3535

0 commit comments

Comments
 (0)