/**
  * (non-PHPdoc)
  * @see \Comsolit\ImasysPhp\RequestInterface::buildUrl()
  */
 public function buildUrl(Credentials $credentials, $host, $port)
 {
     $url = $host . '/IZ/sendmessage.aspx?';
     $data = ['UserID' => $credentials->getUserName(), 'Pwd' => $credentials->getPassword(), 'Address' => $this->address, 'Message' => $this->message, 'Originator' => $this->originator];
     return $url . http_build_query($data, '', '&', PHP_QUERY_RFC3986);
 }
 /**
  * (non-PHPdoc)
  * @see \Comsolit\ImasysPhp\RequestInterface::buildUrl()
  */
 public function buildUrl(Credentials $credentials, $host, $port)
 {
     $url = $host . '/IZ/imasys.msggw?';
     $data = ['UserID' => $credentials->getUserName(), 'Pwd' => $credentials->getPassword(), 'portal.function.name' => 'GetBatchStatus', 'timeout' => self::TIMEOUT, 'BatchID' => $this->batchId];
     return $url . http_build_query($data);
 }