Quantcast
Channel: Jay, trying to remember... » PostBodyContentTypeParser
Browsing latest articles
Browse All 2 View Live

Using Rack middleware to parse JSON

In attempting to AJAX-ize the site, I had the desire to handle JSON as if it were form post data. Queue a Rack middleware solution. rack-contrib contains a bunch of common middleware extensions, one...

View Article



Lost sleep over JSON and Rack::PostBodyContentTypeParser

I’ve been fighting this issue the last couple nights. I wrote earlier about how Rack::PostBodyContentTypeParser can automagically turn a posted JSON object into a Rack / Sinatra params hash. So, I...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images