Skip to main content
I have created a REST service using MVIS, which will "listen" for inbound calls.
Can it also be used to send outbound REST calls, or would that require a U2 program to utilize BASIC host subroutines (like createSecureRequest, etc.)  outside of MVIS?
I have created a REST service using MVIS, which will "listen" for inbound calls.
Can it also be used to send outbound REST calls, or would that require a U2 program to utilize BASIC host subroutines (like createSecureRequest, etc.)  outside of MVIS?
Yes, that's correct, sending is done with U2 programs.
I have created a REST service using MVIS, which will "listen" for inbound calls.
Can it also be used to send outbound REST calls, or would that require a U2 program to utilize BASIC host subroutines (like createSecureRequest, etc.)  outside of MVIS?

Nelson,

There are a lot of ways to accomplish what you want, In addition to a BASIC program, the following is a list at a  high level. 

  1. MV BASIC program
  2. Executing curl statement
  3. Python call to mod that does the call
  4. MV Connect

 
Which you pick depends on the third party REST Service you are trying to access.  
i.e. If it has swagger docs, execute curl directly from pick basic EXECUTE using the sample from Swagger.