Get token without browser

 Hello! Is it possible to pass authorization without a browser? That is to receive a token is admissible through the grand_type "password"? Tried so to be authorized, but I receive an error. 

stdClass Object
(
[error] => invalid_client
[error_description] => client type not allowed
[error_code] => 8
)