Categories: None [Edit]

rack-post-body-to-params

https://rubygems.org/gems/rack-post-body-to-params
https://github.com/niko/rack-post-body-to-params
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.

Total

Ranking: 26,005 of 183,477
Downloads: 48,662

Daily

Ranking: 9,922 of 183,470
Downloads: 19

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,004,546,968activesupport
1,08632,455,782shoulda

Owners

#GravatarHandle
1iconniko