Phoenix.ActionClauseError at POST, no matching action clause to process request

前端 未结 2 1116
天命终不由人
天命终不由人 2021-01-20 12:15

I\'m receiving this error whenever I POST to /api/subastas

Phoenix.ActionClauseError at POST /api/subastas/ bad request to IascSubastas.SubastaController.cr         


        
2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-20 12:32

    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
    

提交回复
热议问题