Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ship returning 404 when trying to install update package #76

Open
Prashantkp opened this issue Aug 18, 2017 · 0 comments
Open

Ship returning 404 when trying to install update package #76

Prashantkp opened this issue Aug 18, 2017 · 0 comments

Comments

@Prashantkp
Copy link

Prashantkp commented Aug 18, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant