{"id":156,"date":"2025-01-16T16:12:36","date_gmt":"2025-01-16T22:12:36","guid":{"rendered":"http:\/\/knowledge.balamsoftware.net:8060\/?p=156"},"modified":"2025-01-16T21:35:32","modified_gmt":"2025-01-17T03:35:32","slug":"405-method-not-allowed-web-api","status":"publish","type":"post","link":"https:\/\/knowledge.balamsoftware.net\/?p=156","title":{"rendered":"405 method not allowed Web API"},"content":{"rendered":"\n<p><strong>Error:<\/strong><\/p>\n\n\n\n<p>Este error es muy com\u00fan. Al levantar el servidor Net Core en cualquier versi\u00f3n.<br>Surge cuando se intenta consumir el aplicativo o microservicio publicado con m\u00e9todos INSERT, PUT y DELETE. En algunos casos podr\u00eda ser con SELECT tambi\u00e9n.<\/p>\n\n\n\n<p><strong>Soluci\u00f3n:<\/strong><\/p>\n\n\n\n<p>Agregar en el archivo <strong>weg.config el<\/strong> siguiente Fragmento:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> &lt;handlers>\n  &lt;remove name=\"WebDAV\"\/>\n &lt;\/handlers>\n &lt;modules runAllManagedModulesForAllRequests=\"true\">\n  &lt;remove name=\"WebDAVModule\"\/>\n &lt;\/modules><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"263\" src=\"http:\/\/knowledge.balamsoftware.net:8060\/wp-content\/uploads\/2025\/01\/Captura-de-pantalla-2025-01-16-a-las-4.09.56\u202fp.m-1024x263.png\" alt=\"\" class=\"wp-image-157\" srcset=\"https:\/\/knowledge.balamsoftware.net\/wp-content\/uploads\/2025\/01\/Captura-de-pantalla-2025-01-16-a-las-4.09.56\u202fp.m-1024x263.png 1024w, https:\/\/knowledge.balamsoftware.net\/wp-content\/uploads\/2025\/01\/Captura-de-pantalla-2025-01-16-a-las-4.09.56\u202fp.m-300x77.png 300w, https:\/\/knowledge.balamsoftware.net\/wp-content\/uploads\/2025\/01\/Captura-de-pantalla-2025-01-16-a-las-4.09.56\u202fp.m-768x197.png 768w, https:\/\/knowledge.balamsoftware.net\/wp-content\/uploads\/2025\/01\/Captura-de-pantalla-2025-01-16-a-las-4.09.56\u202fp.m.png 1195w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Error: Este error es muy com\u00fan. Al levantar el servidor Net Core en cualquier versi\u00f3n.Surge cuando se intenta consumir el aplicativo o microservicio publicado con m\u00e9todos INSERT, PUT y DELETE. En algunos casos podr\u00eda ser con SELECT tambi\u00e9n. Soluci\u00f3n: Agregar en el archivo weg.config el siguiente Fragmento: &lt;handlers> &lt;remove name=\u00bbWebDAV\u00bb\/> &lt;\/handlers> &lt;modules runAllManagedModulesForAllRequests=\u00bbtrue\u00bb> &lt;remove name=\u00bbWebDAVModule\u00bb\/> &hellip;<\/p>\n","protected":false},"author":1,"featured_media":157,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-156","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-servidores_windows"],"_links":{"self":[{"href":"https:\/\/knowledge.balamsoftware.net\/index.php?rest_route=\/wp\/v2\/posts\/156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/knowledge.balamsoftware.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/knowledge.balamsoftware.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/knowledge.balamsoftware.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/knowledge.balamsoftware.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=156"}],"version-history":[{"count":3,"href":"https:\/\/knowledge.balamsoftware.net\/index.php?rest_route=\/wp\/v2\/posts\/156\/revisions"}],"predecessor-version":[{"id":162,"href":"https:\/\/knowledge.balamsoftware.net\/index.php?rest_route=\/wp\/v2\/posts\/156\/revisions\/162"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/knowledge.balamsoftware.net\/index.php?rest_route=\/wp\/v2\/media\/157"}],"wp:attachment":[{"href":"https:\/\/knowledge.balamsoftware.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/knowledge.balamsoftware.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/knowledge.balamsoftware.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}