Replies: 11 comments
-
|
Beta Was this translation helpful? Give feedback.
-
@swaroopar @baixinsui How about we remove the id, and put the |
Beta Was this translation helpful? Give feedback.
-
@iskey I think DELETE with a request body is not very normal in REST. Some discussion you can find here - https://stackoverflow.com/questions/299628/is-an-entity-body-allowed-for-an-http-delete-request |
Beta Was this translation helpful? Give feedback.
-
Thank you for this @swaroopar , DELETE with a request body seems not suitable, so do you think adding the field |
Beta Was this translation helpful? Give feedback.
-
@iskey the user ID itself is not needed. Wee have this value already in the header. |
Beta Was this translation helpful? Give feedback.
-
1.2. Service Vendor
@iskey @swaroopar Except using 'service_template' to replace 'register' in the uri , do we still need to make the following modifications: module 'register' ->module 'templates'? DB entity 'RegisterServiceEntity' ->'ServiceTemplateEntity'? Object in models like 'RegisterServiceVo' -> 'ServiceTemplateVO' ? |
Beta Was this translation helpful? Give feedback.
-
@baixinsui yes I would say so.. even the module must be service template instead of just template. |
Beta Was this translation helpful? Give feedback.
-
I will do it. |
Beta Was this translation helpful? Give feedback.
-
I have completed 'Refactor the APIs' in the backend-API. Due to too many code had been modified, I will split multiple issues according to the ApiController to complete the entire task and complete UI-client and backend-API modification and testing in each smaller issue for each ApiController. |
Beta Was this translation helpful? Give feedback.
-
As we have created some sub-issues to complete this refactor, I will convert this issue to a discussion for an archive. |
Beta Was this translation helpful? Give feedback.
-
As-Is:
To-Be:
Beta Was this translation helpful? Give feedback.
All reactions