ShopeeApi

GRATIS CON POSSIBILITÀ DI UPGRADE
Da kangazib | Aggiornamento 2 месяца назад | Commerce
Popolarità

9.1 / 10

Latenza

485ms

Livello di servizio

96%

Health Check

N/A

Torna a tutte le discussioni

not working example

Rapid account: Felipersl 05
felipersl05
9 mesi fa

<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => “https://shopeeapi2.p.rapidapi.com/br/search?q=vestido”,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => “”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => “GET”,
CURLOPT_HTTPHEADER => [
“X-RapidAPI-Host: shopeeapi2.p.rapidapi.com”,
“X-RapidAPI-Key: xxxxx”
],
]);

response=curlexec(response = curl_exec(curl);
err=curlerror(err = curl_error(curl);

curl_close($curl);

if ($err) {
echo “cURL Error #:” . $err;
} else {
echo $response;
}

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti