Created
December 3, 2016 03:11
-
-
Save yugo412/6b5b834049dc68b7f381edae434eb8c9 to your computer and use it in GitHub Desktop.
Pencarian kata di Glosarium API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (function_exists('curl_init')) { | |
die('cURL library is not installed.'); | |
} | |
$curl = curl_init('http://api.glosarium.web.id?'); | |
curl_setop($curl, CURLOPT_RETURNTRANSFER, true); | |
$response = curl_exec($curl); | |
curl_cluse($response); | |
$words = json_decode($response); | |
var_dump($words); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment