Commit c03678e2 authored by dtati's avatar dtati

second commit

parent 1a9b7d1a
export class ConfigHelper { export class ConfigHelper {
// information sent after creation of applicationId by mail // information sent after creation of applicationId by mail
API_url = "***"
OCR_url = "***" OCR_url = "***"
OCR_url_status = "***" OCR_url_status = "***"
LIVENESS_url = "***" LIVENESS_url = "***"
FACE_MATCHING_url = "***" FACE_MATCHING_url = "***"
SKYID_FA_SDK_PARAMS_url = " ***" skyid_fa_sdk_params_url = " ***"
institution_id = "***"; institution_id = "***";
......
...@@ -17,7 +17,7 @@ export class IdentificationService { ...@@ -17,7 +17,7 @@ export class IdentificationService {
var headers = new HttpHeaders(); var headers = new HttpHeaders();
headers.set('Content-Type', 'multipart/form-data'); headers.set('Content-Type', 'multipart/form-data');
headers.set('Accept', '*/*'); headers.set('Accept', '*/*');
return this.httpClient.post(this.helperSky.API_url, form, {headers: headers}); return this.httpClient.post(this.helperSky.skyid_fa_sdk_params_url+"login", form, {headers: headers});
} }
skyid_fa_get_params_request(bearToken:string){ skyid_fa_get_params_request(bearToken:string){
...@@ -27,7 +27,7 @@ export class IdentificationService { ...@@ -27,7 +27,7 @@ export class IdentificationService {
var headers = new HttpHeaders({ var headers = new HttpHeaders({
Authorization: `Bearer ${bearToken}`, Authorization: `Bearer ${bearToken}`,
}); });
return this.httpClient.post(this.helperSky.SKYID_FA_SDK_PARAMS_url, form, {headers:headers}); return this.httpClient.post(this.helperSky.skyid_fa_sdk_params_url+"get_parameters_web_sdk", form, {headers:headers});
} }
skyid_extract_info_from_doc_request(myImage:any,bearToken : string){ skyid_extract_info_from_doc_request(myImage:any,bearToken : string){
......
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