0
点赞
收藏
分享

微信扫一扫

node red http 请求例子

王远洋 03-20 11:15 阅读 2

node red http 请求例子_系统

函数2

var tk = msg.payload.access_token
msg.headers = {};
 
msg.headers['Authorization'] = "ABC"+tk;
msg.payload = {}
return msg;

  

函数1

msg.headers = {};
msg.headers['Content-Type'] = 'application/x-www-form-urlencoded';
msg.payload = {
    client_id: "111",
client_secret: "222",
grant_type: "333"
}
return msg;



举报

相关推荐

0 条评论