Request to get api session token timeout

Hi guys,
I'm trying to use metabase's API following the doc, and I get a problem at the first step: getting the session token (see here).
I use the right host address as well as my username + password, but the request times out. It is not mentioned in the doc, but maybe you have to use the local Metabase admin account to use the api. Otherwise, I can't see what's not working.

Thanks for your help.

If you get a timeout it's maybe because the host is unreachable. Please post how you're deploying Metabase and the code you're usign

Thanks for the answer, it was just a problem linked to the server address in fact, I managed to solve it alone.