AnsweredAssumed Answered

PowerShell, API and "Put"

Question asked by Tommy Franzmann on Sep 7, 2016
Latest reply on Dec 13, 2016 by Ben Hudson


Hi

 

I'm having trouble getting powershell invoke-webrequest to work with the api, when I want to make "put" requests. Get/post request works fine.

"Put" request give me "status OK" / 200, but does not change any data.

 

Does anyone have a working example in powershell, where they are using "put" to change e.g. course publish/unpublish state or similar?

 

Best regards

Tommy

Outcomes