Can't make post request from angular to C# net core api

Are you able to share the script code for the benefit of others? Thank you!