Method patch is not in the new version of powershell universal ( version 5.0.16 )

Method patch is not in the new version of powershell universal ( version 5.0.16 )

avatar

Im having issues with my api endpoints cause they dont function anymore since i changed to 5.0.16 does anyone know what Method i now need to use instead of Patch since patch is non existed in this version?

avatar

Recommended Answer

It looks like patch is missing from the method selector in the UI. Your patch endpoints should still. I just validated that.

PS C:\Users\adamr> Invoke-RestMethod -Uri 'http://localhost:5000/mypatch' -Headers @{} -Method 'PATCH'
Test




7458b6987caaf7cbb075bcd43c1dcf0964fcad1f
I will add patch to the UI for 5.2.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

7458b6987caaf7cbb075bcd43c1dcf0964fcad1f.png

All Comments (2)

avatar

It looks like patch is missing from the method selector in the UI. Your patch endpoints should still. I just validated that.

PS C:\Users\adamr> Invoke-RestMethod -Uri 'http://localhost:5000/mypatch' -Headers @{} -Method 'PATCH'
Test




7458b6987caaf7cbb075bcd43c1dcf0964fcad1f
I will add patch to the UI for 5.2.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

7458b6987caaf7cbb075bcd43c1dcf0964fcad1f.png

avatar

that sounds great, thank you!