In this WMB Tutorials video we will see how to route http request methods to respective compute nodes and send response back to client.
Types of HTTP Methods
GET : Get resource
POST : Create resource
PUT : Update resource
DELETE : Delete resource
HEAD : Same as GET but returns only HTTP headers and no document body
OPTIONS : Returns the HTTP methods that the server supports
We have different kinds of HTTP methods which can be used by clients as part of particular resource of rest service. So we will try to handle all those method call on single URI.
Sample Code
InputLocalEnvironment.HTTP.Input.RequestLine.Method = 'GET' THEN
PROPAGATE TO TERMINAL 'out';