Hi all,
The chirpstack V4 docker installation comes with a very convenient API REST Interface and a Swagger UI to try it out. The swagger UI (v4.2.0) is available on port 8090 of the chirpstack server [ http://MY_SERVER.:8090/ ]. When I first tried it, it kept telling me this:
Indeed, the generated Curl command was this one:
curl -X ‘GET’
‘http://MY_SERVER:8090/api/applications’
-H ‘accept: application/json’
-H ‘Grpc-Metadata-Authorization: eyJ0eC74…WhojLY’
Whereas it should have been that one:
curl -X ‘GET’
‘http://MY_SERVER:8090/api/applications’
-H ‘accept: application/json’
-H ‘Grpc-Metadata-Authorization: Bearer eyJ0eC74…WhojLY’
In the first request, Bearer is missing. The second request works fine but obviously I need to copy the command, edit and send it from a terminal. Which is fine but removes all the convenience of Swagger.
I’m thinking of a bug but as no one has reported it I’m wondering if I haven’t missed something.
Has anyone been able to make it works without this issue?
Thanks for your help.