Skip to content

Instantly share code, notes, and snippets.

View ssuda's full-sized avatar

Sambasiva Suda ssuda

View GitHub Profile
@ssuda
ssuda / zipplease.rb
Created October 17, 2012 18:47
zipplease sample in Ruby on Rails
=begin
#routes.rb
post "demo/flicker"
#Gemfile
gem 'uuid'
gem 'rest-client'
#Sample request
curl -X POST -H 'Content-Type:application/json' -d '["http://sample.org/1", "http://sample.org/2"]' -H 'Accept:application/json' http://localhost:3000/demo/flicker