Skip to content

Instantly share code, notes, and snippets.

@charleyhine
Created August 1, 2014 00:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save charleyhine/2197b76ed8f276f2dadc to your computer and use it in GitHub Desktop.
Save charleyhine/2197b76ed8f276f2dadc to your computer and use it in GitHub Desktop.
Chain webhooks URL -> Ruby response
class HomeController < ApplicationController
def callback
puts request.body.read
respond_to do |format|
format.all { render text: request.body.read }
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment