Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Hellow world example for new-GetRoute gives 404 #63

Closed
BladeFireLight opened this issue Nov 2, 2017 · 1 comment
Closed

Hellow world example for new-GetRoute gives 404 #63

BladeFireLight opened this issue Nov 2, 2017 · 1 comment

Comments

@BladeFireLight
Copy link
Contributor

New-GetRoute -Path "/helloworld" -ScriptBlock {
param($request,$response);
$response.Send('Hello World');
}

and I get

Server Error in '/' Application.
The resource cannot be found.

         Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been

removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that
it is spelled correctly.

         Requested URL: /helloworld
@BladeFireLight
Copy link
Contributor Author

Nevermind. I seem to have another .net web app running.

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

No branches or pull requests

1 participant