How does one count the number of rows? So if this was powershell, $filter_array.count
Maybe someone has a better way of doing this....
Step 1, Find the file I"m looking for, in this case token.txt
Step 2, load that file's contents, then shove into string variable
Step 3, create HTTP Post to API
Step 4, Receive response with new token
Step 5, Delete File from Step 1
Step 6, Create new File with the same name, token.txt, and add the new token received from Step 4.
This ran fine on pass 1. I triggered it again, thinking it would read the new file and it failed ... even if it had the same name... all I really want to do is pop in the refresh token in that text file. That's why I'm muckering with a find files, filter array thing.... I figure if I can find the name dynamically (token.txt) it won't error out on me on the next pass....
Thank you all for your help 🙂 Cheers
Solved! Go to Solution.
Check out how to claim yours today!
Check out new user group experience and if you are a leader please create your group
Test your skills now with the Cloud Skill Challenge.