User:XZise/Login with cURL

In case you want to check an API call without using any framework in between (to prevent that from being the reason for the failure) cURL is quite helpful but for that you might need to be logged in which is a two step process:

That token is then copied into the next request:

And then you are logged in. If you have jq installed you don't need to manually parse the JSON response: