I am developing an android app which uses some curl commands which were done on Postman. However, I was working with an overseas developer who created them in his account and is now MIA. I want to re-create this script with a new token, etc.
Can anyone guide me, or is anyone looking for a quick gig?
+++++++++++++++
// Insert Category
//mysql_query(โINSERT INTO tbl_category (category_name ,category_image) VALUES (โโ.$playlist_name."โ,โโ)");
//$cat_id = mysql_insert_id();
// Insert Video
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => โhttps://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=".$playlist_id."&key=AIzaSyAEwhNoKeEvRVLosy-msSoGq6X3iu4ngnI&maxResults=50โ,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => โโ,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => โGETโ,
CURLOPT_HTTPHEADER => array(
โcache-control: no-cacheโ,
โpostman-token: 590bf8f5-ebde-636e-7042-8d7a0af5f505โ
),
));