RubyGems Navigation menu

rack-post-body-to-params 0.1.3

A Rack middleware that parses the POST or PUT body for JSON or XML content to a Hash and puts it into the rack.request.form_hash. Most frameworks get the params hash from there. Uses ActiveSupport and the respective parsers for parsing. So you can set it up to use Nokogiri and YajL. Useful for example when writing JSON and XML API apps with Sinatra or Padrino.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.8 - September 12, 2013 (9.5 KB)
  2. 0.1.7 - February 05, 2013 (9 KB)
  3. 0.1.6 - February 04, 2013 (9 KB)
  4. 0.1.5 - February 02, 2012 (8.5 KB)
  5. 0.1.4 - February 01, 2012 (8.5 KB)
  6. 0.1.3 - June 22, 2010 (8.5 KB)
Show all versions (9 total)

Runtime Dependencies (1):

activesupport >= 2.3

Development Dependencies (1):

shoulda >= 0

Owners:

Authors:

  • Niko Dittmann

SHA 256 checksum:

fe7b948ce8538262ba33126888b486e803d950bbd575c0182af1e2fd97485bd1

Total downloads 46,962

For this version 3,507

Licenses:

N/A

Required Ruby Version: None

Links: