Accept POST Data and URL Parameters in 'shiny' (Same-Port Integration)
Overview
Handle POST requests on a custom path (e.g., /ingress) inside the same 'shiny' HTTP server using user interface functions and HTTP responses. Expose latest payload as a reactive and provide helpers for query parameters.
New Features
- **Initial release** of shinypayload package 🎉
- **Same-port POST handling** - Accept POST requests on the same port as your Shiny UI
- **Reactive data integration** - POST data automatically becomes reactive values
- **Multiple authentication methods** - Query parameters, headers, and authorization tokens
- **Multi-format support** - JSON, form data, and query parameters
- **Cross-session data sharing** - Data shared across all connected clients
Core Functions
payload_ui()- Wrap Shiny UI to handle POST requestspayload_last()- Get reactive with latest POST dataparams_get()- Extract URL query parameterspayload_endpoint_url()- Generate absolute URLs for endpoints
Show all changes in 0.1.0Hide the rest of the changes in 0.1.0
Documentation & Examples
- **Comprehensive README** with quick start guide
- **4 complete examples** demonstrating different use cases:
- Basic functionality demo
- Real-time data monitoring
- Form submission handling
- Integration with existing apps
- **Professional documentation** with roxygen2
- **Security best practices** guide
Testing & Quality
- **132 comprehensive tests** with high coverage
- **GitHub Actions CI/CD** across multiple platforms and R versions
- **CRAN-ready package** - passes all R CMD checks
- **Professional code quality** with automated styling and linting
Requirements
- R (>= 4.1)
- shiny (>= 1.7.4)
- jsonlite
---
*This package enables seamless data integration between external systems and Shiny applications, making it easier than ever to build reactive dashboards and APIs with Shiny.*
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 5
- Examples that run
- 100%4 run in a plain check (4 of them under a condition)
- Exported functions with examples
- 80%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
12 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/pawanramamali/shinypayload on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-01-26 · The repository has a site deploy workflow
pkgdown site last built 2025-09-18
Show all practicesHide 2 practices
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- 0.1.0Latest2025-08-29 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-08-29
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Download size
- 24 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("shinypayload")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.