【问题标题】:Executing a cURL script in Informatica在 Informatica 中执行 cURL 脚本
【发布时间】:2021-02-11 07:50:49
【问题描述】:

我有一个 cURL 脚本。它登录到 URL#1,填充 cookies.txt 文件,并使用该 cookies.txt 文件从 URL#2 下载 Excel 文件。

    curl -c cookies.txt -X POST https://sso.URL.com/api/authenticateTfa -H "Content-Type: application/json" --data {"userId":"myUserID","password":"myPassword","appKey":"DOWNLOADFILE"}
    curl -b cookies.txt -O https://downloads2.URL.com/Reports/Some_Excel_File_2020_10_27.xlsx

有没有办法在 Informatica Cloud 中实现这一点?我对此进行了研究,但我无法弄清楚。我已经使用 Swagger 文件建立了到 https://sso.URL.com 的连接,当我单击“测试连接”时,它会回复我一条消息“此连接的测试成功”。

在那之后我不知道该去哪里。我是否以某种方式在同步任务中使用它?

【问题讨论】:

    标签: curl cookies informatica informatica-cloud


    【解决方案1】:

    您需要使用Service 来调用shell 命令。 Here 是文档,here 您可以找到包含示例的知识库文章。

    【讨论】:

      猜你喜欢
      • 2014-11-17
      • 1970-01-01
      • 2021-02-17
      • 2016-03-17
      • 1970-01-01
      • 2018-04-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多