Hi Sameera,
I am faced in an issue where my route is not being accessed. My code is at
on github [1]. I think the route is being added to the route tree but it's
not being executed.

Also it would be better make the public api of a route function in the
below construct.

function(context){

context._request // for request object

context._response // for response object

context._session // for session object
context._param // for params hash
context._body // for body

context._files // for files coming in the request

}

[1] - https://github.com/dulichan/storage

-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2Mobile
Lean.Enterprise.Mobileware
 * ~Email       [email protected] <[email protected]>*
*  ~Mobile     +94712112165*

*  ~Website   dulithawijewantha.com <http://dulithawijewantha.com/>*

*  ~Blog         blog.dulithawijewantha.com
<http://dulichan.github.io/chan/>*
*  ~Twitter     @dulitharw <https://twitter.com/dulitharw>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to