Fork me on GitHub
Mario C.23:09:33

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

Mario C.23:09:20

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?