Take a php file
Assign your data in an array and encode it with json. You can put the conditions for authentication.
Access the website data using curl
$row = array("Firstname"=>Testing, "Lastname"=>User, "Email"=>"user@domain.com");
echo json_encode($row);
?>
No comments:
Post a Comment