aboutsummaryrefslogtreecommitdiff
path: root/files/pt-pt/web/http/status/405/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pt-pt/web/http/status/405/index.html')
-rw-r--r--files/pt-pt/web/http/status/405/index.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/files/pt-pt/web/http/status/405/index.html b/files/pt-pt/web/http/status/405/index.html
new file mode 100644
index 0000000000..abe104da6b
--- /dev/null
+++ b/files/pt-pt/web/http/status/405/index.html
@@ -0,0 +1,46 @@
+---
+title: 405 Method Not Allowed
+slug: Web/HTTP/Status/405
+tags:
+ - Código de resposta HTTP
+ - Erro de cliente
+ - HTTP
+ - Referencia
+ - Status code
+translation_of: Web/HTTP/Status/405
+---
+<div>{{HTTPSidebar}}</div>
+
+<p>O código de resposta HTTP (HyperText Transfer Protocol) <code>405 Method Not Allowed</code> indica que o método do pedido é conhecido pelo servidor, mas não é suportado pelo recurso alvo.</p>
+
+<p class="newpage">O servidor PRECISA gerar um campo de cabeçalho chamado <code>Allow</code> numa resposta 405 contendo uma lista dos métodos que o recurso alvo atualmente suporta.</p>
+
+<h2 id="Status">Status</h2>
+
+<pre class="syntaxbox notranslate">405 Method Not Allowed</pre>
+
+<h2 id="Especificações">Especificações</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Especificação</th>
+ <th scope="col">Titulo</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{RFC("7231", "405 Method Not Allowed", "6.5.5")}}</td>
+ <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Ver_também">Ver também</h2>
+
+<ul>
+ <li>{{HTTPHeader("Allow")}}</li>
+ <li><em><a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html" rel="noopener">HTTP/1.1: Status Code Definitions</a></em></li>
+ <li><em><a href="https://kinsta.com/blog/405-method-not-allowed-error/">How to Fix 405 Method Not Allowed</a></em></li>
+ <li><em><a href="https://docs.microsoft.com/en-us/aspnet/web-api/overview/testing-and-debugging/troubleshooting-http-405-errors-after-publishing-web-api-applications">Troubleshooting HTTP 405</a></em></li>
+</ul>