Try using the built-in HTTP helpers to do that; the get, post, etc.
You can check this tutorial on how to receive data from API from Angular website as well;
http
Angular[
^]. When it comes to showing the data in a Toaster, see the
Use on Toaster module on NPM:
https://www.npmjs.com/package/ngx-toastr[
^].