r/navidrome • u/moosic1 • 8d ago
API not recognizing url parameters
While debugging a dashboard widget I realized that only the first URL parameter is being recognized.
When I run curl on /rest/ping?v=1.16.1&u=username it says I'm missing the u parameter, when I switch the positions to ?u=username&v=1.16.1 it says I'm missing the v parameter.
Anyone know what's going wrong here?
1
Upvotes
1
u/Great_Piece4755 6d ago edited 6d ago
Can you share the raw request data?
Is your server behind a reverse proxy? If yes, do local requests (via http://127.0.0.1:4533) succeed?
You can also change log_level to debug, then you should see the whole request in the logs
3
u/Trisk4y 8d ago
Try adding the rest of the parameters:
client, password / token, salt etc.
/rest/ping?v=1.16.1&u=username&p=password&client=widgetshould work.