jpsider / RestPS

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

Allow for user defined returncodes and messages in Invoke-RequestRouter #52

Closed jpsider closed 2 years ago

jpsider commented 4 years ago

Line 66 & 74, $script:StatusDescripition $script:StatusCode

I could add a check to see if these two are empty, if they are default them to "OK" and "200" Else, use what you throw in there.