param = Map();
text = "简体字";
// t2s是简转繁, s2t是繁转简
type = "s2t";
// 放入参数
param.put("text",name);
param.put("type",type);
info param;
//key = zoho.crm.getOrgVariable("Line_key");
key = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFrb244MjUiLCJyZWZyZXNoX3Rva2VuIjoiMTAwMC40OTkxMWRiNDg5MTNmNDY0MTcwNWQyOTljNGQ2MTdiOS5mOGRjNDcyYTliNWE5NjM4OTY3ZDI2MTk1ZmY3ODMxNSIsImNsaWVudF9pZCI6IjEwMDAuU1NES1pQRjE0WEJMTFA1QU5JQjVRUDlUQzdPSkZIIiwiY2xpZW50X3NlY3JldCI6IjU5MjgzZjc5NGQxYzYzYTRhYTJhNzMzYzUxNTRkNjI5ODc5MGE2NmIxOCIsImV4cCI6MjIxMzc3OTg5OSwiaWF0IjoxNTgzMDU5ODk5fQ.Ruv_ZfzmhFLjRzWKcRNcGNhiT_feV3k1zzS-bXjmSWc";
//info key;
//info API;
header = {"AUTHORIZATION":key};
response = invokeurl
[
url :url
type :GET
parameters:param
headers:header
];
info response;