Hello!
What is the best way to make a REST Call to an external API?
With a script in the run script task?
Do exist a plugin for that?
Thank you
Hello!
What is the best way to make a REST Call to an external API?
With a script in the run script task?
Do exist a plugin for that?
Thank you
Yep, a script is probably the most flexible and versatile option.
Something like the following:
var result,success;
var xhr = new ActiveXObject("Microsoft.XMLHTTP");
xhr.open("get", "http://www.my_rest_API/somequery", false );
xhr.send()
success = (xhr.status == 202 || xhr.status == 200));
result = xhr.responseText