URL: http://www.namedoseusiten.com.br/api_ds_products_ots.php?action=countries
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
PHP -Probe:
// Beispielland $ Url = $ tabain_url. ' /api_ds_products_ors.php? Action = Länder ' ;; $ 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); // Beispiele für Länder
return:
id
text < /p>
URL: http://www.namedoseusiten.com.br/api_ds_products_ots.php?action=countries
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
PHP -Probe:
// Beispielland
$ Url = $ tabain_url. ' /api_ds_products_ors.php? Action = Länder ' ;;
$ 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);
// Beispiele für Länder
return:
id
text < /p>