Skip to content

Commit

Permalink
Add Windows grpcurl tip
Browse files Browse the repository at this point in the history
Add a tip for windows users using the command prompt to try using double quotes.
  • Loading branch information
rurounijones authored Aug 31, 2024
1 parent ac2533a commit 3d05d60
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,11 @@ For development:
- Search for `[GRPC]` in the DCS logs
- Consult the gRPC Server logs at `Saved Games\DCS.openbeta\Logs\gRPC.log`

Test the running server via [grpcurl](https://github.com/fullstorydev/grpcurl): (Remove the `.exe` when running on Linux)
Test the running server via [grpcurl](https://github.com/fullstorydev/grpcurl): (Remove the `.exe` when running on Linux).

> [!TIP]
> FOR WINDOWS USERS on the command prompt, you may need to wrap the JSON in double quotes instead of single quotes in the commands below.
> Try this if you get "Too Many Arguments" error

```bash
grpcurl.exe -plaintext -import-path ./protos -proto ./protos/dcs/dcs.proto -d '{\"text\": \"Works!\", \"display_time\": 10, \"clear_view\": false}' 127.0.0.1:50051 dcs.trigger.v0.TriggerService/OutText
Expand Down

0 comments on commit 3d05d60

Please sign in to comment.