Skip to content

Instantly share code, notes, and snippets.

View henryruhs's full-sized avatar

Henry Ruhs henryruhs

View GitHub Profile
import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { CrudModule } from 'ngx-crud';
@NgModule(
{
imports:
[
CrudModule,
HttpClientModule
import { HttpClient, HttpParams } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { RequestBody, ResponseBody } from './example.interface';
import { environment } from '@env';
@Injectable()
export class ExampleService
{