matt-42 / silicon

A high performance, middleware oriented C++14 http web framework please use matt-42/lithium instead
http://siliconframework.org
MIT License
1.72k stars 138 forks source link

application/json #24

Closed tex closed 8 years ago

tex commented 8 years ago

I'm plaing with rest.cc from tests and it seems to accept application/x-www-form-urlencoded only. How to accept application/json as input?

tex commented 8 years ago

And thanks for very nice C++ framework!

matt-42 commented 8 years ago

Hi Tex, I'm working on it.

matt-42 commented 8 years ago

You can now use the application/json content-type as input: check this commit: e02c1ee222bac41ab8a4d58c5f713b30d2ec7e24

https://github.com/matt-42/silicon/commit/e02c1ee222bac41ab8a4d58c5f713b30d2ec7e24#diff-ca334d1611153b304440f66073607b47R221