Current section

Files

Jump to
ca lib services http delete.ex
Raw

lib/services/http/delete.ex

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