Description
As discussed in OFBIZ-4274, OFBiz runs doGet method in ControlServlet no matter what request it is.
I like Mathieu's comment on adding a method attribute to the request-map element, it's almost the same as we implemented in our openapi:
<request-map uri="examples" method="get"> <security https="true" auth="true"/> <event type="java" path="ExamplesHandlers" invoke="getExamples"/> <response name="success" type="view" value="..."/> <response name="error" type="view" value="..."/> </request-map>
The difference is that we DON'T support method list expression:
<request-map uri="examples" method="get,post">...</request-map>
Attachments
Attachments
Issue Links
- breaks
-
OFBIZ-11259 SOAPService does not work
- Closed
-
OFBIZ-10895 Unknown request [images]; this request does not exist or cannot be called directly.
- Closed
- is related to
-
OFBIZ-10535 Configurable PC: adding or verifying does not work, maybe more issues...
- Closed
-
OFBIZ-4274 Implement a REST Servlet
- Closed
-
OFBIZ-11007 REST: adding segmented URI support
- Closed