manoj rejinthala manoj rejinthala - 29 days ago 19
AngularJS Question

how to use curl command in angularjs

curl –i -u account_id:api_key "https://xecdapi.xe.com/v1/account_info/"

i want to use the above curl command in angularjs. I tried by including header but i didn't get any result.thanks in advance strong text
i want to use the above curl command in angularjs. I tried by including header but i didn't get any result.thanks in advance strong text
i want to use the above curl command in angularjs. I tried by including header but i didn't get any result.thanks in advance strong text

Answer

You cannot use curl commands directly n client side. it is possible in serve side only.