Created
May 19, 2020 02:57
-
-
Save clintonyeb/26c48448a15a7ca2bb54cd442050ef27 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { HttpClient } from '@angular/common/http'; | |
@Injectable({ | |
providedIn: 'root' | |
}) | |
export class AppService { | |
constructor(private http: HttpClient) { } | |
getCcyPair() { | |
return this.http.get('https://restsimulator.coderiq.io/currency_pairs'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment