1.0.0 • Published 5 years ago
ngx-netcore-api v1.0.0
NgxNetcoreApi
Angular module for HTTP communication with ASP.Net Core Web API
Build Status
Usage
- Import
NgxNetCoreApiModule
into your application's module. - Import
ApiService
as a dependency into your Angular component or provider. - TODO: Info about
BASE_URL
andAUTHORIZATION_TOKEN_SERVICE
providers. - Use the generic
get<T>
/post<T>
/put<T>
/delete
methods to execute call to API endpoints. - Use the
BadRequestHelper.getErrorMessage
static method to convertValidationProblemDetails
bad request error responses received from the API into error messages.