开发者社区 问答 正文

faas连接器里调用新建表单实例的接口,返回302,找不到是啥原因。

接口文档:https://developers.aliwork.com/docs/api/openAPI#%E6%96%B0%E5%BB%BA%E8%A1%A8%E5%8D%95%E5%AE%9E%E4%BE%8B

faas连接器的Java调用代码: Map<String,String> queries=new HashMap<String,String>(); queries.put("formUuid", "FORM-YZ9664D1CMP5AABOFA4PTA0QZYTK39NJO5WALV1"); queries.put("appType", "APP_FD8TFDZR9RCLUPKJD7FQ");

    Map<String,String> formData=new HashMap<String,String>();        
    
    queries.put("formDataJson", JSON.toJSONString(formData));
    YidaResponse response = YidaConnectorUtil.postYidaApi("/dingtalk/web/APP_FD8TFDZR9RCLUPKJD7FQ/v1/form/saveFormData.json", null,null, queries);

返回结果: {"errorMsg":"status code not 200,but 302","success":false}

展开
收起
游客2te4nejmrt27c 2022-12-02 11:58:55 574 发布于湖南 分享
分享
版权
来自: 钉钉宜搭 举报
1 条回答
写回答
取消 提交回答
问答分类:
问答地址:
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等