Forum Discussion
jhcannon
4 years agoFrequent Visitor
Update Dataflow Refresh Schedule with API using PowerShell
I am copying a complete workspace to another using PowerShell. I've pieced together several scripts I found and filled in where I was missing things. All that is working as I expect. Now, I need t...
- 4 years ago
Just in case anyone else happens upon this and is having the same issue, I have found the solution.
I was missing the content-type in the header.
$headers = @{
'Authorization' = "$bearer"
'Content-Type' = "application/json"
}
jhcannon
4 years agoFrequent Visitor
Just in case anyone else happens upon this and is having the same issue, I have found the solution.
I was missing the content-type in the header.
$headers = @{
'Authorization' = "$bearer"
'Content-Type' = "application/json"
}