Skip to content

Ship returning 404 when trying to install update package #76

@Prashantkp

Description

@Prashantkp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions