{"id":20,"date":"2016-05-16T10:26:18","date_gmt":"2016-05-16T10:26:18","guid":{"rendered":"http:\/\/waynenguyen.org\/dev\/?p=20"},"modified":"2016-05-16T10:26:18","modified_gmt":"2016-05-16T10:26:18","slug":"cannot-bind-multiple-parameters-in-web-api-cannot-bind-json-parameter","status":"publish","type":"post","link":"https:\/\/bruceng.com\/dev\/?p=20","title":{"rendered":"Cannot bind multiple parameters in Web Api, cannot bind Json parameter"},"content":{"rendered":"<p>Simple, Web Api 1 doesn&#8217;t support multiple parameters.<\/p>\n<p>Also, make sure the route config are correct so that the controller and action can be reached.<\/p>\n<p>To bind Json parameter, use Content-Type: application\/json in the request header, make sure the json object is the root object and the model to load from the server user properties instead of fields.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simple, Web Api 1 doesn&#8217;t support multiple parameters. Also, make sure the route config are correct so that the controller and action can be reached. To bind Json parameter, use Content-Type: application\/json in the request header, make sure the json object is the root object and the model to load from the server user properties &hellip; <a href=\"https:\/\/bruceng.com\/dev\/?p=20\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Cannot bind multiple parameters in Web Api, cannot bind Json parameter&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[2,13,11,12],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-problems","tag-asp-net","tag-json","tag-mvc","tag-web-api"],"_links":{"self":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20"}],"version-history":[{"count":1,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions"}],"predecessor-version":[{"id":21,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions\/21"}],"wp:attachment":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}