Forum Post: RE: Truly RESTful REST adapter

Status
Not open for further replies.
M

mjacobs

Guest
I see that the software truncated the URL example from my reply. Allow me to try this again... I am not sure why you would assume the REST adapter would not basic use cases - but the answer is yes. The REST adapter can handle the very basic use case you presented plus much, much, more. You can map the URIs, http headers, http cookies, and http body with almost all of the OpenEdge datatypes you can pass to a remote procedure. The only requirement is that the URL's path needs to include the web application [context] name and the relative path 'rest'. The former is required by the Java web server the REST adapter runs in, and the latter by the default configuration of the REST adapter's servlet implementation. The remainder of the URI's path is completely at your discretion. The adapter will support the GET, PUT, DELETE, and POST verbs and JSON encoding. Which combination your application exposes is up to you.

Continue reading...
 
Status
Not open for further replies.
Top