Request same host url

17 views
Skip to first unread message

Ivan Švaljek

unread,
Aug 9, 2015, 12:09:11 PM8/9/15
to Guzzle - PHP HTTP client and REST client framework
Is it possible to retrieve json from the same-host url. One php page on the same host to another?
Maybe there's a better way than using Guzzle, but I need to retrieve json from a rest api (WP REST API plugin).
Should also mention that curl and file_get_contents also fail at this task.
Reply all
Reply to author
Forward
0 new messages