Current section

Files

Jump to
ca lib services http post.ex
Raw

lib/services/http/post.ex

defmodule CA.EST.Post do
import Plug.Conn
def post(conn,_,type,id,spec) do
# :io.format 'PUT/4:#{type}#{id}/#{spec}', []
send_resp(conn, 200, CA.EST.encode(%{"type" => type, "id" => id, "spec" => spec}))
end
end