Daml Training Platform: Episode 5 Command Query
@Levente_Barczy I am working through Episode 5 - The Ledger and JSON API.
I have never used any gRPC or JWT before so this is interesting but outside my knowledge. With the Sandbox running, the aim is to perform a command line query using gRPC of the current application based on the ongoing NFT example.
Went to the JWT.io site, entered the relevant parameters, and generated the non-signed JWT. On the video at 18:28, you now have the command:
curl -H "Authorization: Bearer" http://127.0.0.1:7575/v1/query and are supposed to add the current JWT (J_W_T) into the string. However on the video, due to the way that MACOS and Linux dump characters into the Terminal, the previous string is over-written.
I have tried:
curl -H "Authorization: Bearer" J_W_T http://127.0.0.1:7575/v1/query ← fail
curl -H "Authorization: Bearer" http://127.0.0.1:7575/v1/query/J_W_T ← fail
curl -H "Authorization: Bearer" http://127.0.0.1:7575/v1/query J_W_T ← fail
What is the correct string format to action this query?
If you put your solution as a response rather than an edit you could mark it as the answer 
UPDATE #1: I worked it out, about 10 seconds after 
curl -H "Authorization: Bearer J_W_T" http://127.0.0.1:7575/v1/query ← {"result":[{"agree ...
Update #2: The video is not clear with this, especially for gRPC/JWT novices … until you get to 19:17 on the video when @Levente_Barczy shows the full command 
As always, thanks.