I have this cURL command from paypal developers page:
https://developer.paypal.com/docs/api/get-an-access-token-curl/
curl -v https://api.sandbox.paypal.com/v1/oauth2/token \
-H "Accept: application/json" \
-H "Accept-Language: en_US" \
-u "client_id:secret" \
-d "grant_type=client_credentials"
My question is, how can i convert that cURL command into a http request with angular?
Can you give me an example of how can i do that? Because i am new with angular and i need help with this..
Thanks!