[ 
https://issues.apache.org/jira/browse/OFBIZ-12800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18015316#comment-18015316
 ] 

Deepak Dixit commented on OFBIZ-12800:
--------------------------------------

The rest-api component provides the capability to define a rest.xml file for 
exposing REST endpoints.

It is recommended to use the rest.xml file, as it gives you more control when 
exposing your APIs. Using export=true at the service level does not provide the 
ability to define or restrict API calls, whereas rest.xml does

 

You can refer example.rest.xml file for more detail, This has been committed at 
[https://github.com/apache/ofbiz-plugins/commit/2305d817333e1e9715830f5c47c21c0bb9246892]

 

 

 

> Updated supported Rest methods in the  services.xsd file 
> ---------------------------------------------------------
>
>                 Key: OFBIZ-12800
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12800
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: rest-api
>    Affects Versions: 18.12.07
>            Reporter: Bhaskar Kushwah
>            Priority: Minor
>
> Currently, XSD mentions only GET and POST as values in action attribution the 
> but Rest component also supports PUT, DELETE,PATCH.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to