forte integration prod
parent
a0741ce84d
commit
b25781909f
|
|
@ -86,8 +86,8 @@ class ApiService extends BaseService {
|
||||||
print(hash);
|
print(hash);
|
||||||
|
|
||||||
Map<String, String> requestBody = <String, String>{'login': login, 'hash': 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('/fortepos/test/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
|
||||||
var response = await requestFormData('/fortepos/test/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
|
var response = await requestFormData('/fortepos/prod/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
|
||||||
print(response);
|
print(response);
|
||||||
return FortePosSession.fromJson(jsonDecode(response));
|
return FortePosSession.fromJson(jsonDecode(response));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue