ngx-netcore-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

NgxNetcoreApi

Angular module for HTTP communication with ASP.Net Core Web API

Build Status

Build status

Usage

  1. Import NgxNetCoreApiModule into your application's module.
  2. Import ApiService as a dependency into your Angular component or provider.
  3. TODO: Info about BASE_URL and AUTHORIZATION_TOKEN_SERVICE providers.
  4. Use the generic get<T>/post<T>/put<T>/delete methods to execute call to API endpoints.
  5. Use the BadRequestHelper.getErrorMessage static method to convert ValidationProblemDetails bad request error responses received from the API into error messages.

Package Sidebar

Install

npm i ngx-netcore-api

Weekly Downloads

0

Version

1.0.0

License

none

Unpacked Size

146 kB

Total Files

32

Last publish

Collaborators

  • themagnificent11