require 'sinatra'

get '/' do
  "Hello, world"
end

post '/' do
  puts request.body
end

require 'sinatra'

get '/' do
  "Hello, world"
end

post '/' do
  request.body.rewind
  request_payload = JSON.parse request.body.read

  #do something with request_payload
  puts "Text from groupme: "request_payload['text']
end

Add in puts for groupme text
Add in puts for groupme text
