Sitecore.Ship
Sitecore.Ship copied to clipboard
Ship returning 404 when trying to install update package
Ship returning 404 when trying to install update package.
Here is the script i'm trying for.
Invoke-WebRequest -Uri "http://mydomain/services/package/install" -Method Post -ContentType "application/x-www-form-urlencoded" -Body @{"path"="@D:\Users\Parsh\Desktop\test.update";"DisableIndexing"=$true} -UseBasicParsing -TimeoutSec 5000
And i'm getting below error. `
404 - NotFound
The resource you have requested cannot be found.
We're sorry :-(
Graphics courtesy of the awesome Matthew Inman
At line:1 char:1
- Invoke-WebRequest -Uri "http://mydomain/services/package/inst ...
-
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc eption + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand`
I'm using .net framework 4.6.2. also doubled checked all the configuration, everything looks fine,
Appreciate your support.