From: Edward Delaporte Date: Thu, 14 Jan 2021 19:47:01 +0000 (-0600) Subject: Get some basic info from a SalesForce API X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/fd1bf39e9e20e96acf66b4cba32ce7ae7f413af8?ds=sidebyside Get some basic info from a SalesForce API enabled endpoint. --- diff --git a/.gitignore b/.gitignore index 54d8b36..81ad23c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ DONE.md .github_access_token env/* *.json -OneTrust.ipynb \ No newline at end of file +OneTrust.ipynb +*.conf \ No newline at end of file diff --git a/Toybox/salesforce.ps1 b/Toybox/salesforce.ps1 new file mode 100644 index 0000000..b2ce52c --- /dev/null +++ b/Toybox/salesforce.ps1 @@ -0,0 +1,22 @@ +<# +.SYNOPSIS +Some notes on using the SalesForce API. + +.NOTES + +Requires PsIni + +> Install-Module PsIni + +#> + +$FileContent = Get-IniContent ".salesforce.conf" + +$url = $FileContent['salesforce']['url'] +Write-Output $url + +$aboutAPI = curl $url + +$aboutAPI | Format-List + +# Write-Output $aboutAPI.