Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
OTHER License
Published by Badgerati almost 6 years ago
Checksum: 8AAD2486F4F802D9835C16B484C095D80B1E5D470990C2876F84363E53B56723
route
New-PSDrive
to prevent directory tranversinglisten
using a host nameauth
now allows re-using inbuilt/custom parsers. Rather than name
the type, the name is now any custom name you want to use and yuo specify the -type
(like basic, etc). If no -type
supplied, name
is used as the type insteadmiddleware
, so you can define global middleware that only run on requests for specific routes.Published by Badgerati almost 6 years ago
Checksum: 193C230D81ACC476E288CA47744F96C79FDA1EAFE6356190CE1DAF4CD9A7154C
index.html
or default.html
(plus others), if a directory is requestedservice
server type into own runspace$WebSession
to $WebEvent
- internal references onlyPublished by Badgerati about 6 years ago
Checksum: AE432AEC9574F23EDBB1EAF0B32B8C9FB5753FF626F1A08C632655B6356E7500
-Limit
parameter to schedulesimport
function now supports installed modulesendware
scriptPublished by Badgerati about 6 years ago
Checksum: 0FD76CA7A7EDECFA139E225A4068FFB1C6B69E9CC6D9E32EDF6793E2249CFBB4
#91: This release contains far better documentation for Pode: https://badgerati.github.io/Pode
script
function to import
(the former is still supported)Published by Badgerati about 6 years ago
Checksum: 5BC34683CD8BCB49C8DC1870A7062773636D97AC1C28682FCD4DAEE1E649963B
-FileMonitor
Published by Badgerati about 6 years ago
Checksum: E6CD618962E136F6CFAE889B03972F1BC63A7FF9BC9484C027E26BCB681D2B47
Server
parametersPublished by Badgerati about 6 years ago
Checksum: 68032AA8A0FFA0751510AD74C9C7976252E0644DD11BCB98332220D09EC11DB7
scripts
call to specify external modules that should be imported into each runspacepode start
fails to import Pode module into runspacesPublished by Badgerati about 6 years ago
Checksum: B113A6C74004F82D6EFB8DAEA9DA24F495B41B81DE55C1257EC73A6C53B50294
Published by Badgerati over 6 years ago
Checksum: 051A67FDCD8DA87BCB1A39613C23CE6C84AC3AB2A8C5B56519EDB1FF816902ED
-Threads
on your Server blockWrite-JsonResponse
which is now just Json
k6
Published by Badgerati over 6 years ago
Checksum: 31B42DF4E91321A8FC07D8F6189FF4F0AB9271F23820772D0AF99587795B0AFB
Published by Badgerati over 6 years ago
Checksum: 10EB8C74B89AA0575C7123B0FEC1FC636F7A1373CE215D85B41FC4FB0A62F3FA
Published by Badgerati over 6 years ago
Checksum: 92A37F97149E9AC166C14B44CC6A1F804110D27767479956C38511F28A7A94DA
Attach
function to help attach files from the public directory to the response for downloading-IP
on a Server
Published by Badgerati over 6 years ago
Checksum: 2C363B3449D3FA76495A29A9FD689D17F2C63D27F915B90CEC1C8AACB7984D39
Task.Wait
with CancellationTokens
; A Runspace is setup to monitor for key presses, and on Ctrl+C
will Cancel()
the token and terminate PodePublished by Badgerati over 6 years ago
Checksum: D89B49A2E28CE9A6FA8FADE5A2820D113C1F337C17371CC566A2624C062DFEB5
Published by Badgerati over 6 years ago
Checksum: F92BFC303CB61F739F8812BBB47E91691B7CE05AB2579AEECA91C7632F481F9E
Published by Badgerati over 6 years ago
Checksum: 7EA554394036B4AF79E3FF39698C8105380EC01704AD96C5E79E5F92E0FA4764
status
function to easily alter the StatusCode of a Responsejson
, xml
, html
, csv
, view
and tcp
functions to replace current "Write-Response" - now obsolete - functions (see ticket for explanation, and README for usage)Published by Badgerati over 6 years ago
Checksum: C2798BFA725B15A8FA8B52DC53CC8633D83EE627BFE43A2D95EB7DDB6B10CEFA
This is a hot fix release for a hard-coded version in the module's PSD1 file.
Published by Badgerati over 6 years ago
Checksum: C6918E91089CCB46D94B04B30327D0AA88E4B100B812A1B52B69A73158E66E61
Server
as an Interval - so you can loop logic every 30 seconds, for example$session
object passed to routes/api/accounts/:accountId
, which can be referenced via: $session.Data['accountId']
package.json
files, and support for commands similar to node. ie: pode init
, pode start
, pode install
(see README)PSHTML
to .pode
files, to support multiple file types (see README)include
to import other files into pode filesAdd-PodeRoute
to just route
, and Set-PodeViewEngine
to just engine
Published by Badgerati almost 7 years ago
Initial release of Pode.
Pode is a PowerShell framework that runs HTTP/TCP listeners on a specific port, allowing you to host REST APIs, Web Pages and SMTP/TCP servers via PowerShell. It also allows you to render dynamic HTML using PSHTML files.
Published by Badgerati almost 7 years ago
Pre-release for testing