specific "Accept" application/json when use .JSON encoding and there's no parameters
fixed problem regarding to key escaping when .POST
specific "Accept" application/json when use .JSON encoding
add ajax_request which include X-Requested-With = XMLHttpRequest in header