warning: file_get_contents( [function.file-get-contents]: failed to open stream: HTTP request failed! in /var/www/ : eval()'d code on line 4.


Expandable HTTP client

An expandable HTTP client gives you access to more data.

Leverage HTTP to access external data
Your app can take advantage of the HTTP client to retrieve data from any HTTP server – beyond Web and Web services. Use the HTTP client as a go-between from one application or function and the world of third-party data and services available over HTTP.


A lighter, slicker HTTP client
Use less code. Use it as a proxy! With the new HTTP client, you can even build your own synchronization mechanism based on HTTP, no matter what the server is.


HTTP client commands
The client is shored up with five new commands: GET, REQUEST, SET OPTION, GET OPTION and AUTHENTICATE. Get any web content in one single line of code, whatever its type: An HTML page, an image, any binary returned by a HTTP server. Furthermore, developers can take advantage of the Open Data API to create compelling interactions with external public data.



More resources