https://github.com/jeroen/webutils
Utility functions for web applications
https://github.com/jeroen/webutils
Last synced: 29 days ago
JSON representation
Utility functions for web applications
- Host: GitHub
- URL: https://github.com/jeroen/webutils
- Owner: jeroen
- License: other
- Created: 2014-10-28T23:06:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-03T18:18:40.000Z (6 months ago)
- Last Synced: 2025-02-27T09:41:36.010Z (about 2 months ago)
- Language: R
- Homepage: http://cran.r-project.org/web/packages/webutils/
- Size: 75.2 KB
- Stars: 24
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - jeroen/webutils - Utility functions for web applications (R)
README
# webutils
##### *Utility Functions for Web Applications*
[](http://cran.r-project.org/package=webutils)
[](http://cran.r-project.org/web/packages/webutils/index.html)> Utility functions for developing web applications. Includes parsers
for application/x-www-form-urlencoded as well as multipart/form-data
and examples of using the parser with either httpuv or rhttpd.## Hello World
```r
# Parse json encoded payload:
parse_http('{"foo":123, "bar":true}', 'application/json')# Parse url-encoded payload
parse_http("foo=1%2B1%3D2&bar=yin%26yang", "application/x-www-form-urlencoded")## Use demo app to parse multipart/form-data payload
demo_rhttpd()
```