Skip to content

jeroen/webutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webutils

Utility Functions for Web Applications

CRAN_Status_Badge CRAN RStudio mirror downloads

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

# 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()

About

Utility functions for web applications

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors