aboutsummaryrefslogtreecommitdiff
path: root/sandbox/TestTamara/FRONT/Ski/src/app/ucitaj.service.ts
blob: 007129681307b2bed907d4e7842a0bdba2758f0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class UcitajService {

  constructor(private http:HttpClient) { }
  dajPoruku(){
    return this.http.get("http://localhost:5000/api/ski",{responseType:'text'});
  }
}