Answers for "php json from url all the values as html"

PHP
1

get json from url php

$url = "http://urlToYourJsonFile.com";
$json = file_get_contents($url);
$json_data = json_decode($json, true);
echo "My token: ". $json_data["access_token"];
Posted by: Guest on June-23-2020

Browse Popular Code Answers by Language