test url setted
parent
f34080dc6b
commit
7e7fa11623
|
|
@ -73,7 +73,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('/halykpos/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
|
||||||
|
var response = await requestFormData('/hb/pos/gettoken', requestBody, bodyEntry: true, posEndPoint: true, statusCheck: false);
|
||||||
print(response);
|
print(response);
|
||||||
return HalykPosSession.fromJson(jsonDecode(response));
|
return HalykPosSession.fromJson(jsonDecode(response));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue