Utility Functions for Developing Web Applications

Parses http request data in application/json, multipart/form-data, or application/x-www-form-urlencoded format. Includes example of hosting and parsing html form data in R using either 'httpuv' or 'Rhttpd'.



  • Use curl_unescape() in parse_query() because utils::URLdecode() is broken for UTF-8
  • Assume UTF-8 for all strings in rawToChar()


  • Rewrite of multipart parser in C
  • Use the new curl::curl_echo() function to test the parser

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.1 by Jeroen Ooms, a year ago


Report a bug at https://github.com/jeroen/webutils/issues

Browse source code at https://github.com/cran/webutils

Authors: Jeroen Ooms

Documentation:   PDF Manual  

Task views: Web Technologies and Services

MIT + file LICENSE license

Imports curl, jsonlite

Suggests httpuv, testthat

Imported by beakr, opencpu, plumber, reqres.

Suggested by curl.

See at CRAN