So close!!! I am using this syntax:
${="type \\Temp\\currTmsmp.txt".execute().text}
The file is in C:\Temp. I've also tried
${="type /Temp/currTmsmp.txt".execute().text}
. . . and . . .
${="type C:\Temp\currTmsmp.txt".execute().text}
I keep getting an error from the service:
{ "error":{ "code":"401", "message":"Invalid base64 passed to dp:decode 'Cannot run program \"type\": CreateProcess error=2, The system cannot find the file specified'" } }
It almost looks like the service call is actually working and the receiving system is generating that error message but that would be freaky. Anyway, I'll keep trying but so far, no luck.