Skip to content

Instantly share code, notes, and snippets.

@kristianfreeman
Created April 14, 2016 05:13
Show Gist options
  • Save kristianfreeman/491ad60a16667340c42dbe20b5a152d2 to your computer and use it in GitHub Desktop.
Save kristianfreeman/491ad60a16667340c42dbe20b5a152d2 to your computer and use it in GitHub Desktop.
defmodule SampleApp.WebhookController do
use SampleApp.Web, :controller
def index(conn, _params) do
json conn, %{status: “ok”}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment