aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/http/methods/get/index.html
blob: 69798ba296041842367e76e3a565ddfd62b44240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
title: GET
slug: Web/HTTP/Methods/GET
tags:
  - HTTP
  - Reference
  - Request method
translation_of: Web/HTTP/Methods/GET
original_slug: Web/HTTP/Méthode/GET
---
<div>{{HTTPSidebar}}</div>

<p>La <strong>méthode HTTP GET</strong> demande une représentation de la ressource spécifiée. Les requêtes GET doivent uniquement être utilisées afin de récupérer des données.</p>

<table class="properties">
 <tbody>
  <tr>
   <th scope="row">La requête a un corps</th>
   <td>Non</td>
  </tr>
  <tr>
   <th scope="row">Une réponse de succès a un corps</th>
   <td>Oui</td>
  </tr>
  <tr>
   <th scope="row">{{Glossary("Safe","Sûre")}}</th>
   <td>Oui</td>
  </tr>
  <tr>
   <th scope="row">{{Glossary("Idempotent","Idempotente")}}</th>
   <td>Oui</td>
  </tr>
  <tr>
   <th scope="row">{{Glossary("Cacheable","Peut être mise en cache")}}</th>
   <td>Oui</td>
  </tr>
  <tr>
   <th scope="row">Autorisée dans les formulaires HTML</th>
   <td>Oui</td>
  </tr>
 </tbody>
</table>

<h2 id="Syntaxe">Syntaxe</h2>

<pre class="syntaxbox">GET /index.html
</pre>

<h2 id="Spécifications">Spécifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Spécification</th>
   <th scope="col">Titre</th>
  </tr>
  <tr>
   <td>{{RFC("7231", "GET", "4.3.1")}}</td>
   <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
  </tr>
 </tbody>
</table>

<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>

<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>

<p>{{Compat("http/methods", "GET")}}</p>

<h2 id="Voir_aussi">Voir aussi</h2>

<ul>
 <li>{{HTTPHeader("Range")}}</li>
</ul>