This is my configuration.. <resource methods="POST GET" uri-template="/library/book">
This will get the following... GET http://localhost:8280/library/book - and will return the book collection.. But, above configuration won't get hit - when I call it like, GET http://localhost:8280/library/book?author=hiranya If I want to handle the above, I need to introduce the following configuration.... <resource methods="POST GET" uri-template="/library/book?author={author}"> Then once again - if I want to get books by author and book name, I need to introduce following.. <resource methods="POST GET" uri-template="/library/book?author={author}&name={name}"> Is this behavior by design..? Why..? Can't we handle all above three scenarios through... <resource methods="POST GET" uri-template="/library/book"> -- Thanks & Regards, Prabath Mobile : +94 71 809 6732 http://blog.facilelogin.com http://RampartFAQ.com
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
