Need to do a bit of setup first depending on the URL to be targeted.
- Can the URL be targeted from the server where $U resides, this is to ensure basic connectivity so things like firewalls or certificates need to be in place. The security is usually higher for https url targets
- Is there any authentication required to hit the URL (user/pass) or authorization key
Its a good idea to test connectivity using Postman or even IE.
- If all good then on Univiewer go to Node -> select node ->update -> Manager Web Services (assuming this is activated) ->Manager Settings
- This will open an interface - select REST
- Right Click and select add
- Give your URL a name and put in the URL path in the Base URL and save - The name you gave the URL can now be used by REST type Uprocs
- Save and close the manager and node all the way back to node menu
The Base URL is now set up
Now create a Uproc
- Got to Uprocs on the node
- Create new Uproc of type WS_REST
- Go to Edit, select the REST service made earlier, select the HTTP resource and the method such as GET or POST (this is where testing in POSTMAN comes in useful)
- You can use this as a basic call or you can add in responses
- Variables can be added as outputs which will be passed to other Uprocs as inheritance variables (no need to define them in subsequent Uprocs)
This should get you going at least.