Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $response = file_get_contents('http://example.com/path/to/api/call?param1=5');
- $response = json_decode($response);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement