How should I expect to use the args in my routes?
tookko opened this issue · 1 comments
tookko commented
Was testing with master branch, seems like posting to the endpoint passes the call to create() but args are always empty. What should I expect to put in my request body: JSON, form data, something else?
blocknotes commented
Hi @tookko
I updated the master branch.
Only formdata currently.
Test (using basic.cr example):
curl -X POST 'http://localhost:3000/items' --data 'name=Test&age=123'