- context = afb_hreq_context(hreq);
- afb_apis_call(afb_hreq_to_req(hreq), context, api, lenapi, verb, lenverb);
+ /* get the verb length */
+ while (*++i);
+ lenverb = (size_t)(i - verb);
+
+ /* found api + verb so process the call */
+ afb_hreq_call(hreq, apiset, api, lenapi, verb, lenverb);