ngx-netcore-api
v1.0.0
Published
Angular module for HTTP communication with ASP.Net Core Web API
Downloads
20
Maintainers
Readme
NgxNetcoreApi
Angular module for HTTP communication with ASP.Net Core Web API
Build Status
Usage
- Import
NgxNetCoreApiModuleinto your application's module. - Import
ApiServiceas a dependency into your Angular component or provider. - TODO: Info about
BASE_URLandAUTHORIZATION_TOKEN_SERVICEproviders. - Use the generic
get<T>/post<T>/put<T>/deletemethods to execute call to API endpoints. - Use the
BadRequestHelper.getErrorMessagestatic method to convertValidationProblemDetailsbad request error responses received from the API into error messages.
