Ejemplo n.º 1
0
 private function saveInDb($data)
 {
     $restApi = new RestManager();
     return $restApi->setEndPoint('http://api.gofiliate.com/affiliates/login')->setMethod('POST')->call($data);
 }
Ejemplo n.º 2
0
 private function saveInDb($data)
 {
     $restApi = new RestManager();
     $response = $restApi->setEndPoint('http://api.gofiliate.com/affiliates/register')->setMethod('POST')->call($data);
 }