Siin näed erinevusi valitud versiooni ja hetkel kehtiva lehekülje vahel.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
et:xmlcore [2015/08/24 18:33] ott |
et:xmlcore [2015/08/26 09:38] ott |
||
---|---|---|---|
Rida 108: | Rida 108: | ||
- | ====PHP näide==== | + | ====PHP näited==== |
===Väljund=== | ===Väljund=== | ||
<code php> | <code php> | ||
Rida 158: | Rida 158: | ||
curl_setopt($ch, CURLOPT_POST, 1); | curl_setopt($ch, CURLOPT_POST, 1); | ||
- | curl_setopt($ch, CURLOPT_POSTFIELDS, 'xmldata='.urlencode($xmldata).'&put=1&what=contract' ); | + | curl_setopt($ch, CURLOPT_POSTFIELDS, 'xmldata='.urlencode($xmldata).'&put=1&what=invoice' ); |
$result = curl_exec($ch); | $result = curl_exec($ch); | ||