bank prod url added
parent
ccd668a5c9
commit
d39baca7c2
|
|
@ -73,8 +73,8 @@ class ApiService extends BaseService {
|
|||
print(hash);
|
||||
|
||||
Map<String, String> requestBody = <String, String>{'login': login, 'hash': hash};
|
||||
//var response = await requestFormData('/halykpos/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
|
||||
var response = await requestFormData('/hb/pos/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
|
||||
String pointUrl = test ? '/hb/pos/gettoken' : '/halykpos/gettoken';
|
||||
var response = await requestFormData(pointUrl, requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
|
||||
print(response);
|
||||
return HalykPosSession.fromJson(jsonDecode(response));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue