whoami7 - Manager
:
/
data
/
vhosts
/
pruebas
/
www
/
Upload File:
files >> /data/vhosts/pruebas/www/pruebaapi.php
<?php $url = "https://procedimenta.api-us1.com/api/3/contacts"; $clienteCurl = curl_init(); curl_setopt($clienteCurl, CURLOPT_URL, $url); $metodoAutenticacion = "bareer token"; curl_setopt($clienteCurl, CURLOPT_HTTPHEADER, array( "Content-Type: application/json", "Api-Token: fcf33ca58904da46f8cfed9c72ffc712bd50d0382bd9cf9d1fdab7900c0ff60d237db37e" )); curl_setopt($clienteCurl, CURLOPT_RETURNTRANSFER, true); $respuesta = curl_exec($clienteCurl); print_r($respuesta); // Comprobamos si hay errores if(curl_errno($clienteCurl)){ echo 'Curl error: ' . curl_error($clienteCurl); } curl_close($clienteCurl); ?>
Copyright ©2021 || Defacer Indonesia