At first i authorize with this command:
curl -v https://api.sandbox.paypal.com/v1/oauth2/token \\ -H "Accept: application/json" \\ -H "Accept