Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

curlopt_postfields php example

<?php

$cURLConnection = curl_init();

curl_setopt($cURLConnection, CURLOPT_URL, 'https://hostname.tld/phone-list');
curl_setopt($cURLConnection, CURLOPT_RETURNTRANSFER, true);

$phoneList = curl_exec($cURLConnection);
curl_close($cURLConnection);

$jsonArrayResponse - json_decode($phoneList);
Source by www.webhostface.com #
 
PREVIOUS NEXT
Tagged: #php
ADD COMMENT
Topic
Name
6+6 =