Log in to create the user session. Log in can be done using data formatted as “application/x-wwwform-urlencoded” or “application/json”. In this example form-urlencoded data is used.
Log
In
curl --insecure --cookie-jar demosession --data "username=user&password=password&space=master" "https://demomaster/API/7.1/master/UIController/services/Users/actions/log in/invoke" –silent