{"id":262,"date":"2021-03-05T15:24:49","date_gmt":"2021-03-05T14:24:49","guid":{"rendered":"http:\/\/blog.c-hase.de\/?p=262"},"modified":"2021-03-05T15:25:00","modified_gmt":"2021-03-05T14:25:00","slug":"redirecting-problem","status":"publish","type":"post","link":"https:\/\/blog.c-hase.de\/?p=262","title":{"rendered":"redirecting -problem"},"content":{"rendered":"<p>WebApiApplication -&gt; WebApiConfig zweite config auskommentieren.<\/p>\n<p>public static void Register(HttpConfiguration config)<br \/>\n{<br \/>\n\/\/ Web-API-Konfiguration und -Dienste<\/p>\n<p>\/\/ Web-API-Routen<br \/>\nconfig.MapHttpAttributeRoutes();<br \/>\n\/*<br \/>\nconfig.Routes.MapHttpRoute(<br \/>\nname: &#8222;DefaultApi&#8220;,<br \/>\nrouteTemplate: &#8222;api\/{controller}\/{id}&#8220;,<br \/>\ndefaults: new { id = RouteParameter.Optional }<br \/>\n);*\/<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WebApiApplication -&gt; WebApiConfig zweite config auskommentieren. public static void Register(HttpConfiguration config) { \/\/ Web-API-Konfiguration und -Dienste \/\/ Web-API-Routen config.MapHttpAttributeRoutes(); \/* config.Routes.MapHttpRoute( name: &#8222;DefaultApi&#8220;, routeTemplate: &#8222;api\/{controller}\/{id}&#8220;, defaults: new { id = RouteParameter.Optional } );*\/ }<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,1],"tags":[],"class_list":["post-262","post","type-post","status-publish","format-standard","hentry","category-c","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.c-hase.de\/index.php?rest_route=\/wp\/v2\/posts\/262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.c-hase.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.c-hase.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.c-hase.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.c-hase.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=262"}],"version-history":[{"count":1,"href":"https:\/\/blog.c-hase.de\/index.php?rest_route=\/wp\/v2\/posts\/262\/revisions"}],"predecessor-version":[{"id":263,"href":"https:\/\/blog.c-hase.de\/index.php?rest_route=\/wp\/v2\/posts\/262\/revisions\/263"}],"wp:attachment":[{"href":"https:\/\/blog.c-hase.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.c-hase.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.c-hase.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}