I've been trying to get used to using the API with a simple test site and I'm having problems. I've been trying to trace your code and I've made it up till this point in the API.abstract.class.php constructor:
$this->method = $_SERVER['REQUEST_METHOD'];
At this point the data() function in API.class.php becomes active. Why and how? I'll continue to go through the code to see how my input to the site is being interpreted but this is somewhat baffling to me and would appreciate some help understanding whats going on.