I am getting 500 internal server error while calling webapi from angular UI
this is my “baseUrl”: “https://localhost:44313/api”,
this is my service call
export class OrderService {
private defaultServiceUrl: string;
constructor(@Inject(APP_SETTING) private setting: Setting, private http: HttpClient) {
this.defaultServiceUrl = this.setting.baseUrl + ‘/order’;
}} Kindly help if you know solution if you need some other code pls let me know