Kasutaja tarvikud

Lehe tööriistad



et:xmlcore

Erinevused

Siin näed erinevusi valitud versiooni ja hetkel kehtiva lehekülje vahel.

Lõlita võrdlemise vaatele

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
et:xmlcore [2020/01/24 14:21]
ott [Väljund]
et:xmlcore [2020/10/02 08:33]
ott [Praktiline näide - artiklite väljund]
Rida 39: Rida 39:
  
 Terve tootebaasi päring: Terve tootebaasi päring:
-https://directo.gate.ee/​xmlcore/​demo_ee/​xmlcore.asp?​get=1&​what=item&​key=20DAF3F822B782AF12D1198C23F45604+https://login.directo.ee/​xmlcore/​demo_ee/​xmlcore.asp?​get=1&​what=item&​key=20DAF3F822B782AF12D1198C23F45604
  
 Üksiku toote päring, toote koodi järgi, lisaparameeter ''​code=0000'':​ Üksiku toote päring, toote koodi järgi, lisaparameeter ''​code=0000'':​
-https://directo.gate.ee/​xmlcore/​demo_ee/​xmlcore.asp?​get=1&​what=item&​code=0000&​key=20DAF3F822B782AF12D1198C23F45604+https://login.directo.ee/​xmlcore/​demo_ee/​xmlcore.asp?​get=1&​what=item&​code=0000&​key=20DAF3F822B782AF12D1198C23F45604
  
 ====Andmete saatmine Directosse ehk sisend==== ====Andmete saatmine Directosse ehk sisend====
Rida 156: Rida 156:
 curl_setopt($ch,​ CURLOPT_HEADER,​ 0); curl_setopt($ch,​ CURLOPT_HEADER,​ 0);
 curl_setopt($ch,​ CURLOPT_RETURNTRANSFER,​ true); curl_setopt($ch,​ CURLOPT_RETURNTRANSFER,​ true);
 +curl_setopt($ch,​ CURLOPT_FOLLOWLOCATION,​ true);
 curl_setopt($ch,​ CURLOPT_URL,​ $url ); curl_setopt($ch,​ CURLOPT_URL,​ $url );
 curl_setopt($ch,​ CURLOPT_POST,​ 1); curl_setopt($ch,​ CURLOPT_POST,​ 1);
et/xmlcore.txt · Viimati muutnud: 2024/04/16 09:19 persoon toomas