Commit 8191486d authored by dev0tion's avatar dev0tion

Change load function into POST

parent 685da94a
...@@ -44,7 +44,7 @@ export class ApiService { ...@@ -44,7 +44,7 @@ export class ApiService {
*/ */
loadWallet(data: WalletLoad): Observable<any> { loadWallet(data: WalletLoad): Observable<any> {
return this.http return this.http
.get(this.webApiUrl + '/wallet/load/', {headers: this.headers, body: JSON.stringify(data)}) .post(this.webApiUrl + '/wallet/load/', JSON.stringify(data), {headers: this.headers})
.map((response: Response) => response); .map((response: Response) => response);
} }
...@@ -83,6 +83,4 @@ export class ApiService { ...@@ -83,6 +83,4 @@ export class ApiService {
.get(this.webApiUrl + '/wallet/receive') .get(this.webApiUrl + '/wallet/receive')
.map((response: Response) => response); .map((response: Response) => response);
} }
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment