umami-software / umami

Umami is a simple, fast, privacy-focused alternative to Google Analytics.
https://umami.is
MIT License
22.92k stars 4.26k forks source link

Api Internal Server Error #2301

Closed vinumweb closed 1 year ago

vinumweb commented 1 year ago

Describe the Bug

When calling any of the api modules it just returns Internal Server Error. I don't know what im doing wrong. This is my postman script: "https://{{analytics_url}}/api/auth/login?username={{analytics_username}}&password={{analytics_password}}"

Thanks, Peter.

Database

MySQL

Relevant log output

I don't know what logs to check

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

Hostinger VPS, OpenLiteSpeed, CyberPanel

briancao commented 1 year ago

You need to send the username and password in the request body, and use a POST.

Our API documentation details on what calls are available to you. https://umami.is/docs/authentication

vinumweb commented 1 year ago

You need to send the username and password in the request body, and use a POST.

Our API documentation details on what calls are available to you. https://umami.is/docs/authentication

I did.

vinumweb commented 1 year ago

Oh im so sorry i didnt fully understand you. I now sent it via the body and it works. Sorry again.