apex
apex copied to clipboard
Post request params are empty
Setting up in an apex server:
post "/test" do |request|
p request.params
end
When I post from a web page the params show up properly but Apex reports them back as empty or {}
Checking it out.
This problem appears a bit more than I have time for today, unfortunately. I've dug into it a bit and I think I need to do a bit of a rewrite to make Apex work properly.
I hate to pull this card, but Apex is pretty early/experimental (version 0.1.0), and has implementation issues that I'm going to need to redo. For example, we're adding a default handler to deal with every request and doing our own routing when in fact we should be adding specific handlers. ¯_(ツ)_/¯
I apologize for that. At some point I'll have time to tackle this again.
Seems like for post?
, adding raw.arguments
to query
would be a stopgap?
Good point.