I\'m receiving this error whenever I POST to /api/subastas
Phoenix.ActionClauseError at POST /api/subastas/ bad request to IascSubastas.SubastaController.cr
I resolved, just added header. My version:
% mix phoenix.new -v Phoenix v1.2.1 % elixir -v Erlang/OTP 19 [erts-8.0.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace] Elixir 1.3.2
content_type was missing in POST! "application/json"