liberator

Mario C. 2018-09-21T23:36:59.000300Z

Hello

Mario C. 2018-09-21T23:37:33.000100Z

When defining a resource in Liberator, when should you use :post! vs :handle-created?

Mario C. 2018-09-21T23:38:20.000100Z

I was using :post! and the function itself worked fine but in my client side I kept getting Invalid JSON. But when switching from :post! to :handle-created it worked just fine. What gives?