When does the API.class data method become active? #391

Open
gkerickson opened this Issue Aug 5, 2016 · 0 comments

Projects

None yet

1 participant

@gkerickson

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment