Try OpenEdge Now
New Information
OpenEdge Data Object Handler
:
Define custom service endpoints
Define custom service endpoints
In the JSON mapping file, define custom service endpoints under an
operations
object. For example:
{
"services": {
"HelloService": {
"version": "1.0.0",
"operations": {
"/Greeting": {},
"/Message": {},
"/": {}
}
}
}
}
This registers the endpoints with the DOH class and makes them accessible as REST resources. Client applications access these resources using the full endpoint URI. For example:
http://localhost/CustomerApp/web/HelloService/Greeting
http://localhost/CustomerApp/web/HelloService/Message