Answers for "fetching json return data from another website using php"

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

Code answers related to "fetching json return data from another website using php"

Browse Popular Code Answers by Language