CodeIgniter Forums

Full Version: Rest API
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to create simple api in codeigniter?
A great link and a great resource too.

I was looking at it and noticed this:
PHP Code:
const HTTP_I_AM_A_TEAPOT 418

What on earth is that?

PS Found this https://en.wikipedia.org/wiki/Hyper_Text...l_Protocol and this http://www.error418.org/ but still no wiser.
So is it just an unrecognized code?