jpsider / RestPS

Simple ReST Framework for Powershell
MIT License
114 stars 30 forks source link

can not find Invoke-AvailableRouteSet #34

Closed chengerchao closed 4 years ago

chengerchao commented 4 years ago

Hi: I depoly RestPS as readme, but can not find Invoke-AvailableRouteSet. Could you help me resolve it.

image

jpsider commented 4 years ago

Can you tell me what version of RestPS you are using? Run this to list all of the available modules: Get-Module -ListAvailable

jpsider commented 4 years ago

Looks like I have not updated the docs in a while. It now uses a 'json' file vs. a .ps1. I have updated the readme with the correct file name:
$RestPSparams = @{ RoutesFilePath = 'C:\RestPS\endpoints\RestPSRoutes.json' Port = '8080' } Start-RestPSListener @RestPSparams'

chengerchao commented 4 years ago

Looks like I have not updated the docs in a while. It now uses a 'json' file vs. a .ps1. I have updated the readme with the correct file name: $RestPSparams = @{ RoutesFilePath = 'C:\RestPS\endpoints\RestPSRoutes.json' Port = '8080' } Start-RestPSListener @RestPSparams'

Looks like I have not updated the docs in a while. It now uses a 'json' file vs. a .ps1. I have updated the readme with the correct file name: $RestPSparams = @{ RoutesFilePath = 'C:\RestPS\endpoints\RestPSRoutes.json' Port = '8080' } Start-RestPSListener @RestPSparams'

Thanks you very much, my question is resolved. please update readme, Thank you again.