Initial commit

This commit is contained in:
Kayaya
2020-08-05 15:39:16 +01:00
commit d25ebc0d28
110 changed files with 17161 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { environment } from 'src/environments/environment';
/* import { environment } from 'src/environments/environment.prod'; */
@Injectable({
providedIn: 'root'
})
export class HttpService {
constructor(private http: HttpClient) { }
post(serviceName: string, data: any){
const headers = new HttpHeaders();
const options = { header: headers, withCredintials: false}
const url = environment.apiURL + serviceName;
/* const this.http.post(url, JSON.stringify(data), options); */
}
}