Hi all, I want to restrict HTTP verbs that can be used on a given jaggery resource.
For example user should be able to make only HTTP POST and PUT requests only on the index.jag file. If they make any HTTP GET or DELETE requests they will get a "400 - bad request" response. I referred to jaggery documentation regarding jaggery.conf file[1] and tried to use given configurations to fulfill my requirement. Only way I could figure out to implement given scenario was to check the incoming request's HTTP verb and decide using an if-else block in the .jag file and generate necessary error responses. Is there another way to implement this scenario in jaggery? Thank you, Sameera Kannangara. -- Sameera Kannangara, Software Engineer, WSO2 Inc. _______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev