Marwan
04/04/2021, 2:50 PMvar headers = {
"Content-Type": "application/xml;charset=utf-8",
};
var response = <http://https.post|https.post>({
url: "<https://tableau.server.com/api/3.4/auth/signin>",
body:
"<tsRequest>" +
'<credentials name="name" password="password">' +
'<site contentUrl="company"/>' +
"</credentials>" +
"</tsRequest>",
headers: headers,
});
var resbody = response.body;
log.audit({ title: "auth response", details: resbody });
battk
04/05/2021, 12:35 AMbattk
04/05/2021, 12:35 AMbattk
04/05/2021, 12:35 AMMarwan
04/05/2021, 9:29 AMcredentials
is closed.battk
04/05/2021, 3:09 PMMarwan
04/05/2021, 3:09 PMbattk
04/05/2021, 3:09 PMbattk
04/05/2021, 3:10 PMMarwan
04/05/2021, 3:10 PMbattk
04/05/2021, 3:10 PMMarwan
04/05/2021, 3:11 PMMarwan
04/05/2021, 3:35 PMbattk
04/05/2021, 3:49 PMMarwan
04/05/2021, 4:02 PM