News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Hari KT:
Aura.Http Request and Response
February 18, 2013 @ 11:49:58

On his blog today Hari KT has an Aura Framework-related post about one of its components, the Aura.Http component, and its handling of HTTP requests and responses.

The Aura.Http package provide you the tool to build and send request and response. [...] Probably you may not have bothered too much on building the http response either the framework does it for you, or until you need to send the correct response.

The post shows you how to use the component to send and receive HTTP requests. Code is included showing how to make Response objects and set headers, content, cookies and HTTP response code. He also shows how to output the response and a more complete example of the entire flow. The post finishes up with an example of using Aura.Http to make a request to another site - in this case back to GitHub to get the users on a repository.

0 comments voice your opinion now!
aura project framework http request response tutorial


blog comments powered by Disqus

Similar Posts

Joshua Eichorn's Blog: Adding AJAX to a Website step by step, Part II

Developer.com: Threads Versus The Singleton Pattern

CodeForest.net: Android JSON-RPC client and PHP Zend Framework server

NetTuts.com: Setting Up a Local Mirror for Composer Packages With Satis

Zend Developer Zone: Reading Access Databases with PHP and PECL


Community Events





Don't see your event here?
Let us know!


framework tips package library zendserver interview opinion symfony podcast update introduction release series laravel deployment install language community list api

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework