Curl Command change to http post in Angular

Dear all big brothers,

I am so green on javascript and angular, I have a technical problem, pls help, thanks

  • I have curl command, but don’t know how change to http post in component in Angular,

Dummy curl command as below;

curl --location ‘https://api.boss.qa.abc.com/abc_com/send_out
–header ‘Tvb-Boss-Client-Token: wj6hvadewvwvwohdk1cU1’
–header ‘Content-Type: application/json’
–data ‘{“mobile_number”: “98765432”,
“area_code”: “852”,
“message”: “Have a nice day !”}’