Our great sponsors
-
Pode
Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
WebServer
Powershell WebServer is a Powershell module that starts a webserver (without the need for IIS) (by MScholtes)
This is one of the best. https://badgerati.github.io/Pode/ it is simple to install and use. It has routes, views, templates etc.
Um, Python's http.server is 1293 lines, imports 19 libraries and has a CGI script handler in it.
Is this module not basically the same as the python one? https://github.com/MScholtes/WebServer
Start taking a stab at coding it, but then found this one that's close to what I was aiming for: https://github.com/tobor88/PowerShell-Red-Team/blob/master/Start-SimpleHTTPServer.ps1
As others on here have also pointed out, Pode is a PowerShell web server that lets you setup REST API via routes, or web pages using templates (or Pode.Web).