URL: http: // www.
& amp; products_id =
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
PHP -Probe:
// Beispiellisten-Produktoptionen und -Werte
$ Url = $ tabain_url. ' /api_ds_products_ors.php? Action = list_products_options_values & amp; products_id = ' $ _ Get [' products_id '];
$ Ch = curl_init ($ url);
Curl_setopt ($ ch, curlopt_returntransfer, true);
curl_setopt ($ ch, curlopt_sl_verifypeer, false);
Curl_setopt ($ ch, curlopt_httpHeader, Array (Array (
' Inhaltstyp: Anwendung/JSON ',,
"Cache-Control: No-Cache",
' Token: ' . Basis64_CODE ($ token),
' Geheimnis: ' . Basis64_CODE ($ Secret),
' E-Mail: ' . Basis64_CODE ($ E -Mail),
' Inhaltslänge: ' . Strlen ($ data_string))))
);
$ result = curl_exec ($ ch);
Curl_close ($ ch);
print_r ($ result);
// Beispielliste Produktoptionen und Werte eof code> pre>
return:
id
text < /p>
URL: http: // www.
& amp; products_id =
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
PHP -Probe:
// Beispiellisten-Produktoptionen und -Werte
$ Url = $ tabain_url. ' /api_ds_products_ors.php? Action = list_products_options_values & amp; products_id = ' $ _ Get [' products_id '];
$ Ch = curl_init ($ url);
Curl_setopt ($ ch, curlopt_returntransfer, true);
curl_setopt ($ ch, curlopt_sl_verifypeer, false);
Curl_setopt ($ ch, curlopt_httpHeader, Array (Array (
' Inhaltstyp: Anwendung/JSON ',,
"Cache-Control: No-Cache",
' Token: ' . Basis64_CODE ($ token),
' Geheimnis: ' . Basis64_CODE ($ Secret),
' E-Mail: ' . Basis64_CODE ($ E -Mail),
' Inhaltslänge: ' . Strlen ($ data_string))))
);
$ result = curl_exec ($ ch);
Curl_close ($ ch);
print_r ($ result);
// Beispielliste Produktoptionen und Werte eof code> pre>
return:
id
text < /p>