Actually, it is easier to manually create
the REST
Connector. To do that, in the “Records Explorer”, just navigate as
follows:
- Expand the “Integration-Connectors”
- Right-click on “Connect REST”
- Left-click on the “Create”
Figure 68: Connect REST Menu Navigation
In the form that opened, enter the
following info, followed by clicking on “Create and open”.
Figure 69: Connect REST Record Configuration
In the created rule, for the following
tabs, enter the information accordingly.
Service Tab
Fill in the “Resource path” as the “Service
endpoint URL” of the Service REST.
Figure 70: Service Tab of Connect REST
💡
|
Note: You can copy the “Service endpoint
URL” from the earlier Service REST.
|
Methods Tab
GET Method
In the Methods tab, for “Get”,
under the “Response”, for the “Message Data”, specify it as
follows:
Figure 71: DBRestConnector GET Method Response Configuration
💡
|
Note: There is nothing to configure for the “Request” since this particular service of ours does not have any
inputs!
|
POST Method
Similarly, for the “Post”, configure the “Request”
and “Response”
as follows:
Figure 72: DBRestConnector POST Method Request Configuration
Figure 73: DBRestConnector POST Method Response Configuration
OK! Our REST Connector is ready! It is now able to support both “GET” and “POST” method. The next step is to test our REST Connector.
To test the REST Connector, let’s use a
Datapage to do that!
No comments:
Post a Comment