Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.11 KB | None | 0 0
  1. $response = file_get_contents('http://example.com/path/to/api/call?param1=5');
  2. $response = json_decode($response);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement