...
The following is an example cURL call that can be used to obtain an access token (assuming that localadmin/local password is a valid username/password combination):
curl -v -d 'username=localadmin' -d 'password=localpassword' -d 'grant_type=password' http://localhost:8182/token