You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/09/16 11:52:14 UTC

[GitHub] [incubator-dolphinscheduler] sandun-zhang opened a new issue #3757: http节点通过post方法调用接口,怎么传body和Authorization参数?

sandun-zhang opened a new issue #3757:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3757


   ![微信图片_20200916195104](https://user-images.githubusercontent.com/67786431/93333530-069c3d80-f856-11ea-87f0-229ed4b43b4b.jpg)
   ![微信图片_20200916195043](https://user-images.githubusercontent.com/67786431/93333538-08fe9780-f856-11ea-877a-80c32df6bc8c.jpg)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] zhuangchong edited a comment on issue #3757: http节点通过post方法调用接口,怎么传body和Authorization参数?

Posted by GitBox <gi...@apache.org>.
zhuangchong edited a comment on issue #3757:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3757#issuecomment-693886804


   1. The body is selected in the request parameters, the page is in the form of key and value, and the background will be processed into json
   ![image](https://user-images.githubusercontent.com/37063904/93423446-8ffc5000-f8e8-11ea-91eb-0028a350eaea.png)
   
   2.Authorization parameter can try to see if it can be put in headers
   
   ---
   1.body在请求参数里面选择,页面通过key,value形式,后台会处理成json
   
   2.Authorization 参数可以试一下是否可以放到headers里面
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] zhuangchong commented on issue #3757: http节点通过post方法调用接口,怎么传body和Authorization参数?

Posted by GitBox <gi...@apache.org>.
zhuangchong commented on issue #3757:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3757#issuecomment-693886804


   1. The body is selected in the request parameters, the page is in the form of key and value, and the background will be processed into json
   ![image](https://user-images.githubusercontent.com/37063904/93423446-8ffc5000-f8e8-11ea-91eb-0028a350eaea.png)
   2.Authorization parameter can try to see if it can be put in headers
   
   ---
   1.body在请求参数里面选择,页面通过key,value形式,后台会处理成json
   ![image](https://user-images.githubusercontent.com/37063904/93423446-8ffc5000-f8e8-11ea-91eb-0028a350eaea.png)
   
   2.Authorization 参数可以试一下是否可以放到headers里面
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] xingchun-chen commented on issue #3757: http节点通过post方法调用接口,怎么传body和Authorization参数?

Posted by GitBox <gi...@apache.org>.
xingchun-chen commented on issue #3757:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3757#issuecomment-694595511


   please update  the title in English


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] xingchun-chen commented on issue #3757: http节点通过post方法调用接口,怎么传body和Authorization参数?

Posted by GitBox <gi...@apache.org>.
xingchun-chen commented on issue #3757:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3757#issuecomment-694597849


   Need to add header:Content-Type: application/json;charset=utf-8
   ![image](https://user-images.githubusercontent.com/55787491/93545226-7e6f8280-f992-11ea-9bb9-9a5e8f1ce6de.png)
   ![image](https://user-images.githubusercontent.com/55787491/93545272-97783380-f992-11ea-9310-57aea3fb4411.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] sandun-zhang closed issue #3757: How to pass the body and authorization parameters when the HTTP node calls the interface through the post method?

Posted by GitBox <gi...@apache.org>.
sandun-zhang closed issue #3757:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3757


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] sandun-zhang commented on issue #3757: http节点通过post方法调用接口,怎么传body和Authorization参数?

Posted by GitBox <gi...@apache.org>.
sandun-zhang commented on issue #3757:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3757#issuecomment-693905680


   感谢您的回答,我尝试过这样写参数,任务可以成功运行,但获取到的返回信息是null,可能是功能不够完善


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] sandun-zhang commented on issue #3757: How to pass the body and authorization parameters when the HTTP node calls the interface through the post method?

Posted by GitBox <gi...@apache.org>.
sandun-zhang commented on issue #3757:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3757#issuecomment-694603500


   thanks,I've added this parameter, but the problem is that I don't know how to pass a body parameter in JSON format with an array
   
   
   
   
   
   ------------------&nbsp;原始邮件&nbsp;------------------
   发件人:                                                                                                                        "apache/incubator-dolphinscheduler"                                                                                    <notifications@github.com&gt;;
   发送时间:&nbsp;2020年9月18日(星期五) 上午9:38
   收件人:&nbsp;"apache/incubator-dolphinscheduler"<incubator-dolphinscheduler@noreply.github.com&gt;;
   抄送:&nbsp;"July"<1072785335@qq.com&gt;;"Author"<author@noreply.github.com&gt;;
   主题:&nbsp;Re: [apache/incubator-dolphinscheduler] http节点通过post方法调用接口,怎么传body和Authorization参数? (#3757)
   
   
   
   
   
    
   Need to add header:Content-Type: application/json;charset=utf-8
    
    
    
   —
   You are receiving this because you authored the thread.
   Reply to this email directly, view it on GitHub, or unsubscribe.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org