Elixir – Dynamo + REST API (MethodOverride)
A note about the DELETE/PUT methods. HTML form does not support PUT/DELETE of HTTP/REST verbs, and Rails/Sinatra uses Rack::MethodOverride middleware to override the method to the one in “_method” parameter.
Though the Dynamo doesn’t provide this overriding feature, it has Filters framework to provide middleware-like service chain. A simple filter logic to rewrite the conn.method as follows worked nicely.