8 hours ago
resolved this by looking at jftui's source. you should have x-emby-authorization header set, something like this:
hope this helps you OP and anyone else who gets this
Code:
curl -X POST $JF/Users/authenticatebyname \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-emby-authorization: Mediabrowser Client="mycustomclient", Device="mydevice", DeviceId="myid", Version="1.0.0"' \
-d "$data" \
hope this helps you OP and anyone else who gets this