ngx-netcore-api
v1.0.0
Published
Angular module for HTTP communication with ASP.Net Core Web API
Downloads
7
Maintainers
Readme
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.