I have a working php integration with economic, sort of
One thing that is very strange is that it takes approximately 1.5 minutes for me to authenticate, its the following piece that is slow
- Code: Select all
$postFields = "aftalenr=%s&brugernavn=%s&password=%s&popup=&geminfo=";
$postUrl = "https://www.e-conomic.dk/secure/internal/login.asp";
curl_setopt(
$this->curlHandle,
CURLOPT_POSTFIELDS,
sprintf($postFields, $this->agreementNumber, $this->username, $this->password));
curl_setopt(
$this->curlHandle,
CURLOPT_URL,
$postUrl);
// Post the login form
$loginHtml = curl_exec($this->curlHandle);
// Unset post fields
curl_setopt($this->curlHandle, CURLOPT_POSTFIELDS, "");
return true;
Is there any kind of throttling made into the api. Its a test account I'm working against.
Is there any thing that looks wrong in the above code
Best Regards
Niels


