URL: Header Parameter Format Usuario1 Base64_encode () password1 Base64_encode ()

PHP -Probe:

 // Beispiellistenprodukte und -Werte
 
 $ Url = $ tabain_url. ' /api_products_ots.php? Action = list_products_options_values ​​' ;; 
oder
$ url = $ domain_url. ' /api_products_ots.php? Action = list_products_options_values ​​& amps_id = ' $ _ Get [' products_id ']; $ Ch = curl_init ($ url); Curl_setopt ($ ch, curlopt_returntransfer, true); curl_setopt ($ curl, curlopt_ssl_verifypeer, false); Curl_setopt ($ ch, curlopt_httpHeader, Array (Array ( ' Inhaltstyp: Anwendung/JSON ',, "Cache-Control: No-Cache", ' Usuario1: ' . Basis64_CODE ($ Usuario1), ' Passwort1: ' . Basis64_CODE ($ password1))) ); $ result = curl_exec ($ ch); Curl_close ($ ch); print_r ($ result); // Beispiellisten -Produkte Optionen und Werte eof

return:

id
text < /p>

URL: Header Parameter Format

Usuario1 Base64_encode ()

password1 Base64_encode ()


PHP -Probe:

 // Beispiellistenprodukte und -Werte

$ Url = $ tabain_url. ' /api_products_ots.php? Action = list_products_options_values ​​' ;;
oder
$ url = $ domain_url. ' /api_products_ots.php? Action = list_products_options_values ​​& amps_id = ' $ _ Get [' products_id '];

$ Ch = curl_init ($ url);
Curl_setopt ($ ch, curlopt_returntransfer, true);
curl_setopt ($ curl, curlopt_ssl_verifypeer, false);
Curl_setopt ($ ch, curlopt_httpHeader, Array (Array (
' Inhaltstyp: Anwendung/JSON ',,
"Cache-Control: No-Cache",
' Usuario1: ' . Basis64_CODE ($ Usuario1),
' Passwort1: ' . Basis64_CODE ($ password1)))
);

$ result = curl_exec ($ ch);
Curl_close ($ ch);

print_r ($ result);

// Beispiellisten -Produkte Optionen und Werte eof

return:

id
text < /p>

Schreibe einen Kommentar 0