{"json_modified": "2016-10-18T11:29:31.840479", "uuid": "072671e9-b912-44ba-900e-34c2729e0b9e", "title": "Using Fetch", "url": "/en-US/docs/Web/API/Fetch_API/Using_Fetch", "tags": ["request", "API", "Fetch", "Response", "Guide", "HTTP", "Experimental", "Exp\u00e9rimental", "Promise", "BODY"], "translations": [{"uuid": "c052e911-4c6d-40b7-bd06-d03b6b23e810", "title": "Utiliser Fetch", "url": "/fr/docs/Web/API/Fetch_API/Using_Fetch", "tags": ["Response", "API", "Fetch", "Guide", "request", "Promesse", "Exp\u00e9rimental", "Promise", "BODY"], "summary": "Ce genre de fonctionnalit\u00e9 \u00e9tait auparavant r\u00e9alis\u00e9 avec XMLHttpRequest
.\u00a0Fetch fournit une meilleure alternative qui peut \u00eatre utilis\u00e9e facilement par d\u2019autres technologies comme Service Workers
. Fetch fournit aussi un endroit unique et logique pour la d\u00e9finition d'autres concepts li\u00e9s \u00e0 HTTP comme CORS et les extensions d'HTTP.", "localization_tags": [], "locale": "fr", "last_edit": "2016-10-01T05:27:17", "review_tags": ["technical"]}, {"uuid": "255cd17d-250a-423b-b1c7-b9a34a238dc2", "title": "Fetch \u6982\u8aac", "url": "/ja/docs/Web/API/Fetch_API/Using_Fetch", "tags": ["request", "API", "Fetch", "Response", "Guide", "HTTP", "Experimental", "Promise", "BODY"], "summary": "\u5f93\u6765\u3001\u3053\u306e\u3088\u3046\u306a\u6a5f\u80fd\u306f XMLHttpRequest
\u306b\u3088\u3063\u3066\u63d0\u4f9b\u3055\u308c\u3066\u304d\u307e\u3057\u305f\u3002Fetch \u306f\u3001\u305d\u306e\u3088\u308a\u826f\u3044\u4ee3\u66ff\u3067\u3001Service Workers
\u306e\u3088\u3046\u306a\u6280\u8853\u304b\u3089\u7c21\u5358\u306b\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u307e\u305f CORS \u3084 HTTP \u62e1\u5f35\u306e\u3088\u3046\u306a HTTP \u306b\u95a2\u9023\u3059\u308b\u6982\u5ff5\u3092\u307e\u3068\u3081\u3066\u5b9a\u7fa9\u3057\u3066\u3082\u3044\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-08-15T02:11:54", "review_tags": []}, {"uuid": "095b560b-2c45-4395-89d7-ab166c7bb000", "title": "\u4f7f\u7528 Fetch", "url": "/zh-CN/docs/Web/API/Fetch_API/Using_Fetch", "tags": [], "summary": "\u90e8\u5206\u7ffb\u8bd1\u53c2\u8003\uff1a\u3010\u7ffb\u8bd1\u3011\u8fd9\u4e2aAPI\u5f88\u201c\u8ff7\u4eba\u201d\u2014\u2014(\u65b0\u7684Fetch API)", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-08-30T07:38:25", "review_tags": []}], "modified": "2016-10-18T11:29:31", "label": "Using Fetch", "localization_tags": [], "locale": "en-US", "id": 145289, "last_edit": "2016-10-18T11:29:17", "summary": "This kind of functionality was previously achieved using XMLHttpRequest
.\u00a0Fetch provides a better alternative that can be easily used by other technologies such as Service Workers
. Fetch also provides\u00a0a single logical place to define other HTTP-related concepts such as CORS and extensions to HTTP.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "The_state_of_browser_support", "title": "The state of browser support"}, {"id": "Feature_detection", "title": "Feature detection"}, {"id": "Making_fetch_requests", "title": "Making fetch requests"}, {"id": "Supplying_request_options", "title": "Supplying request options"}, {"id": "Checking_that_the_fetch_was_successful", "title": "Checking that the fetch was successful"}, {"id": "Supplying_your_own_request_object", "title": "Supplying your own request object"}, {"id": "Headers", "title": "Headers"}, {"id": "Guard", "title": "Guard"}, {"id": "Response_objects", "title": "Response objects"}, {"id": "Body", "title": "Body"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/Fetch_API/Using_Fetch", "review_tags": ["technical"]}