@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?