News Feed
Sections




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

Lorna Mitchell's Blog:
Status Codes for Web Services
July 03, 2009 @ 15:44:37

Lorna Mitchell has posted the last article in her look at web services - a focus on status codes.

Unlike the other posts in this series, this one is quite specific to one type of service - REST - since it deals with status codes, specifically HTTP ones. The ideas are transferrable however and other types of service can return statuses in a similar way.

She mentions things to keep in mind in returning the codes, some of the more interesting codes as well as some typical situations where things like an error code 500 would be thrown.

Status codes are like a headline to the calling entity about what happened, and are a valuable tool in the web service toolkit.
0 comments voice your opinion now!
tutorial webservice statuscode


blog comments powered by Disqus

Similar Posts

DevShed: Enhancing a URL Handling Helper Class in PHP 5

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 1)

Rob Allen: Returning JSON errors in a ZF2 application

Zend Developer Zone: Using the Stack Exchange API with PHP (part 1)

Ivan Iordanov's Blog: extending Zend_Db_Table to create NestedSet models


Community Events





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


api laravel install language conference opinion extension voicesoftheelephpant unittest release series version introduction composer podcast symfony configure interview community list

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