TOKEN=$( curl -k -s -X POST "https://10.251.0.30:10002/realms/API.Server.local/protocol/openid-connect/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "grant_type=password" \ -d "client_id=Fastapi" \ -d "client_secret=wojuoB7Z5xhlPFrF2lIxJSSdVHCApEgC" \ -d "username=core" \ -d "password=C0r3_us3r_Cr3d3nt14ls" \ -d "audience=Fastapi" \ | jq -r '.access_token' ) curl -k -s -X GET "https://10.251.0.30:5050/reslevis/getTrackers" \ -H "accept: application/json" \ -H "Authorization: Bearer ${TOKEN}"