P
Peter Judge
Guest
We have a webhandler in the box that can help, called the Data Object Handler (DOH for short). Basically you create some JSON files that tell the DOH which URL + method runs which procedure+function/class+method, and what the parameters are. It was written for Business Entities but it works with just about any ABLcode. There's slides describing it from a presentation I did at http://pugsa.org/wp-content/uploads/2019/03/PJ_pasoe_doh.pdf and doc at https://docs.progress.com/bundle/service-developer-guide/page/Use-a-Data-Object-Handler.html . One webhandler can be used for many/all request URIs. Regardless of whether you use the DOH or your own webhandler you will need to add a handlerN line for all of the path parameters (the {id} stuff).
Continue reading...
Continue reading...