RubyGems Navigation menu

rack-post-body-to-params 0.1.5

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:
= Copier Copié!

installation:
=

Versions:

  1. 0.1.8 - September 12, 2013 (9,5 ko)
  2. 0.1.7 - February 05, 2013 (9 ko)
  3. 0.1.6 - February 04, 2013 (9 ko)
  4. 0.1.5 - February 02, 2012 (8,5 ko)
  5. 0.1.4 - February 01, 2012 (8,5 ko)
Voir toutes les versions (9)

Dépendances de Runtime (1):

activesupport >= 2.3

Dépendances de Development (1):

shoulda >= 0

Propriétaires:

Auteurs:

  • Niko Dittmann

Total de contrôle SHA 256:

c30f8fd1ea1bf8aaf5e58ee42eca51c9d2262c59c01257c3873811226c74e54b

Total de téléchargements 46 973

Pour cette version 13 646

License:

aucune

Version de Ruby requise: None

Liens: