Skip to main content
Answer

Using the httpclient activity in a Java script

  • March 4, 2024
  • 1 reply
  • 57 views

christopherlecky
Byte
Forum|alt.badge.img+17

Does anyone have a quick rundown on what methods to use to set the httpclient methods and execute?

I know it goes something like so :

 

import commvault.cte.workflow.activities.HttpClient;

def httpclient = new HttpClient();

 

But then what next?

 

How do I set the http method, headers and, and url?

 

Best answer by christopherlecky

Resolved 

1 reply

christopherlecky
Byte
Forum|alt.badge.img+17

Resolved