PDA

View Full Version : i think the ajaxproxy for raw post is so evil



gakaki
15 Aug 2011, 10:47 PM
like many sever programing launage they deal with the raw post is so trouble.

php use this for retrive the raw post
$form_data = json_decode(file_get_contents('php://input'));
like common using $_POST to get it.
in ruby on rails and sinatra
using "request.raw_post" to get it not params[:params] to get
in ASP.NET MVC like this so trouble
http://stackoverflow.com/questions/1038466/logging-raw-http-request-response-in-asp-net-mvc-iis7

why not use params ?