{"id":16105,"date":"2025-03-24T13:45:15","date_gmt":"2025-03-24T10:45:15","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/"},"modified":"2025-03-24T13:45:15","modified_gmt":"2025-03-24T10:45:15","slug":"reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/","title":{"rendered":"React&#8217;te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi"},"content":{"rendered":"<p><body><\/p>\n<p>React&#8217;te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi<\/p>\n<p>Merhaba!  Fatih Soysal olarak, bu yaz\u0131da React uygulamalar\u0131n\u0131zda Fetch API, Async\/Await ve useEffect hook&#8217;lar\u0131n\u0131 kullanarak REST API&#8217;lerinden veri \u00e7ekme i\u015flemini ad\u0131m ad\u0131m ele alaca\u011f\u0131z.  Bu g\u00fc\u00e7l\u00fc ara\u00e7lar\u0131 kullanarak verimli ve okunabilir bir kod yazmay\u0131 \u00f6\u011freneceksiniz. \u00d6ncelikle, bu \u00fc\u00e7\u00fcn\u00fcn ne i\u015fe yarad\u0131\u011f\u0131na k\u0131saca bakal\u0131m.<\/p>\n<h2>Fetch API Nedir?<\/h2>\n<p>Fetch API, taray\u0131c\u0131n\u0131zda bulunan ve a\u011f istekleri yapmak i\u00e7in kullan\u0131lan modern bir JavaScript API&#8217;sidir.  Daha \u00f6nce jQuery&#8217;nin <code>$.ajax()<\/code> metodunu kulland\u0131ysan\u0131z, Fetch API&#8217;nin daha temiz ve modern bir alternatif oldu\u011funu g\u00f6receksiniz.  Fetch, Promise&#8217;ler d\u00f6nd\u00fcrerek asenkron i\u015flemleri y\u00f6netmeyi kolayla\u015ft\u0131r\u0131r.  Bu da, kodumuzun daha okunakl\u0131 ve daha kolay hata ay\u0131klanabilir olmas\u0131n\u0131 sa\u011flar.<\/p>\n<h2>Async\/Await Nedir?<\/h2>\n<p>Async\/Await, Promise&#8217;leri daha senkron bir \u015fekilde y\u00f6netmenizi sa\u011flayan bir s\u00f6zdizimi \u015fekeri.  Karma\u015f\u0131k asenkron i\u015flemleri daha okunabilir ve anla\u015f\u0131labilir hale getirir.  Async\/Await kullanarak, asenkron kodunuzu sanki senkron kod yaz\u0131yormu\u015fsunuz gibi yazabilir ve y\u00f6netin.<\/p>\n<h2>useEffect Hook&#8217;u Nedir?<\/h2>\n<p>React&#8217;in hook&#8217;lar\u0131ndan biri olan useEffect, bile\u015feninizin ya\u015fam d\u00f6ng\u00fcs\u00fc boyunca yan etkileri (\u00f6rne\u011fin, API \u00e7a\u011fr\u0131lar\u0131) y\u00f6netmenizi sa\u011flar.  Bile\u015feniniz render edildikten sonra veya belirli ba\u011f\u0131ml\u0131l\u0131klardaki de\u011fi\u015fikliklerden sonra \u00e7al\u0131\u015ft\u0131r\u0131labilir.  Bu, API \u00e7a\u011fr\u0131lar\u0131n\u0131 do\u011fru zamanda yapman\u0131z\u0131 sa\u011flar ve bile\u015feninizin performans\u0131n\u0131 art\u0131rmaya yard\u0131mc\u0131 olur.<\/p>\n<h2>Pratik Uygulama: Bir REST API&#8217;sini T\u00fcketmek<\/h2>\n<p>\u015eimdi, b\u00fct\u00fcn bu kavramlar\u0131 birle\u015ftirerek basit bir \u00f6rnek yapal\u0131m.  Bir kullan\u0131c\u0131 listesi getiren bir API&#8217;yi t\u00fcketmeyi deneyelim.  Bu \u00f6rnekte,  herhangi bir API kullanabilirsiniz. Benim \u00f6nerim  <a href=\"https:\/\/jsonplaceholder.typicode.com\/\">JSONPlaceholder<\/a> sitesindeki mock API&#8217;sini kullanman\u0131zd\u0131r. \u00c7ok pratiktir ve test i\u00e7in idealdir.   Bu sayede, ger\u00e7ek bir API&#8217;ye ihtiya\u00e7 duymadan \u00f6\u011frenebilirsiniz.<\/p>\n<pre><code>\nimport React, { useState, useEffect } from 'react';\n\nfunction App() {\n  const [users, setUsers] = useState([]);\n  const [loading, setLoading] = useState(true);\n  const [error, setError] = useState(null);\n\n  useEffect(() => {\n    const fetchUsers = async () => {\n      try {\n        const response = await fetch('https:\/\/jsonplaceholder.typicode.com\/users');\n        if (!response.ok) {\n          throw new Error(HTTP error! status: ${response.status});\n        }\n        const data = await response.json();\n        setUsers(data);\n      } catch (error) {\n        setError(error);\n      } finally {\n        setLoading(false);\n      }\n    };\n\n    fetchUsers();\n  }, []);\n\n  if (loading) {\n    return <p>Y\u00fckleniyor...<\/p>;\n  }\n\n  if (error) {\n    return <p>Hata olu\u015ftu: {error.message}<\/p>;\n  }\n\n  return (\n    <ul>\n      {users.map(user => (\n        <li key={user.id}>{user.name}<\/li>\n      ))}\n    <\/ul>\n  );\n}\n\nexport default App;\n<\/code><\/pre>\n<p>Bu kodda,  <code>useEffect<\/code> hook&#8217;u, bile\u015fen render edildi\u011finde bir kere \u00e7al\u0131\u015facak \u015fekilde ayarlanm\u0131\u015ft\u0131r (bo\u015f ba\u011f\u0131ml\u0131l\u0131k dizisi sayesinde).  <code>async\/await<\/code> kullanarak  API \u00e7a\u011fr\u0131s\u0131n\u0131 y\u00f6netiyoruz.  <code>try...catch...finally<\/code> blo\u011fu, olas\u0131 hatalar\u0131 yakalamak ve kullan\u0131c\u0131ya uygun bir mesaj g\u00f6stermek i\u00e7in kullan\u0131lm\u0131\u015ft\u0131r.  Sonu\u00e7 olarak, API&#8217;den gelen verileri <code>users<\/code> state&#8217;inde sakl\u0131yoruz ve liste olarak g\u00f6r\u00fcnt\u00fcl\u00fcyoruz.<\/p>\n<p>Bu \u00f6rnek, temel bir REST API t\u00fcketimi g\u00f6stermektedir.  Daha karma\u015f\u0131k senaryolarda,  error handling&#8217;i daha detayl\u0131 hale getirebilir, pagination ekleyebilir ve hatta daha geli\u015fmi\u015f state y\u00f6netimi teknikleri kullanabilirsiniz. Daha fazla bilgi i\u00e7in <a href=\"https:\/\/fatihsoysal.com\">web sitemi<\/a> ziyaret edebilirsiniz.  Ayr\u0131ca,  React dok\u00fcmantasyonunu da inceleyebilirsiniz.<\/p>\n<p>Umar\u0131m bu makale, React&#8217;te Fetch API, Async\/Await ve useEffect kullanarak REST API&#8217;lerini t\u00fcketme konusunda size yard\u0131mc\u0131 olmu\u015ftur.  Herhangi bir sorunuz varsa, l\u00fctfen yorumlarda sorun!<\/p>\n<p>#Etiketler<br \/>\nReact, Fetch API, Async\/Await, useEffect, REST API, API t\u00fcketimi, JavaScript, programlama,  JSONPlaceholder,  hata y\u00f6netimi, state y\u00f6netimi<\/p>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"React&#8217;te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi Merhaba! Fatih Soysal olarak, bu yaz\u0131da React uygulamalar\u0131n\u0131zda&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-16105","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-genel","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>React&#039;te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi<\/title>\n<meta name=\"description\" content=\"Merhaba! Fatih Soysal olarak, bu yaz\u0131da React uygulamalar\u0131n\u0131zda Fetch API, Async\/Await ve useEffect hook&#039;lar\u0131n\u0131 kullanarak REST API&#039;lerinden veri \u00e7ekme i\u015flemini ad\u0131m ad\u0131m ele alaca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc ara\u00e7lar\u0131 kullanarak verimli ve okunabilir bir kod yazmay\u0131 \u00f6\u011freneceksiniz. \u00d6ncelikle, bu \u00fc\u00e7\u00fcn\u00fcn ne i\u015fe yarad\u0131\u011f\u0131na k\u0131saca bakal\u0131m.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"React&#039;te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi\" \/>\n<meta property=\"og:description\" content=\"Merhaba! Fatih Soysal olarak, bu yaz\u0131da React uygulamalar\u0131n\u0131zda Fetch API, Async\/Await ve useEffect hook&#039;lar\u0131n\u0131 kullanarak REST API&#039;lerinden veri \u00e7ekme i\u015flemini ad\u0131m ad\u0131m ele alaca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc ara\u00e7lar\u0131 kullanarak verimli ve okunabilir bir kod yazmay\u0131 \u00f6\u011freneceksiniz. \u00d6ncelikle, bu \u00fc\u00e7\u00fcn\u00fcn ne i\u015fe yarad\u0131\u011f\u0131na k\u0131saca bakal\u0131m.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-24T10:45:15+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"React&#8217;te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi\",\"datePublished\":\"2025-03-24T10:45:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/\"},\"wordCount\":519,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/\",\"name\":\"React'te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-03-24T10:45:15+00:00\",\"description\":\"Merhaba! Fatih Soysal olarak, bu yaz\u0131da React uygulamalar\u0131n\u0131zda Fetch API, Async\/Await ve useEffect hook'lar\u0131n\u0131 kullanarak REST API'lerinden veri \u00e7ekme i\u015flemini ad\u0131m ad\u0131m ele alaca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc ara\u00e7lar\u0131 kullanarak verimli ve okunabilir bir kod yazmay\u0131 \u00f6\u011freneceksiniz. \u00d6ncelikle, bu \u00fc\u00e7\u00fcn\u00fcn ne i\u015fe yarad\u0131\u011f\u0131na k\u0131saca bakal\u0131m.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"React&#8217;te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"React'te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi","description":"Merhaba! Fatih Soysal olarak, bu yaz\u0131da React uygulamalar\u0131n\u0131zda Fetch API, Async\/Await ve useEffect hook'lar\u0131n\u0131 kullanarak REST API'lerinden veri \u00e7ekme i\u015flemini ad\u0131m ad\u0131m ele alaca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc ara\u00e7lar\u0131 kullanarak verimli ve okunabilir bir kod yazmay\u0131 \u00f6\u011freneceksiniz. \u00d6ncelikle, bu \u00fc\u00e7\u00fcn\u00fcn ne i\u015fe yarad\u0131\u011f\u0131na k\u0131saca bakal\u0131m.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/","og_locale":"tr_TR","og_type":"article","og_title":"React'te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi","og_description":"Merhaba! Fatih Soysal olarak, bu yaz\u0131da React uygulamalar\u0131n\u0131zda Fetch API, Async\/Await ve useEffect hook'lar\u0131n\u0131 kullanarak REST API'lerinden veri \u00e7ekme i\u015flemini ad\u0131m ad\u0131m ele alaca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc ara\u00e7lar\u0131 kullanarak verimli ve okunabilir bir kod yazmay\u0131 \u00f6\u011freneceksiniz. \u00d6ncelikle, bu \u00fc\u00e7\u00fcn\u00fcn ne i\u015fe yarad\u0131\u011f\u0131na k\u0131saca bakal\u0131m.","og_url":"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-03-24T10:45:15+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"3 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"React&#8217;te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi","datePublished":"2025-03-24T10:45:15+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/"},"wordCount":519,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/","url":"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/","name":"React'te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-03-24T10:45:15+00:00","description":"Merhaba! Fatih Soysal olarak, bu yaz\u0131da React uygulamalar\u0131n\u0131zda Fetch API, Async\/Await ve useEffect hook'lar\u0131n\u0131 kullanarak REST API'lerinden veri \u00e7ekme i\u015flemini ad\u0131m ad\u0131m ele alaca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc ara\u00e7lar\u0131 kullanarak verimli ve okunabilir bir kod yazmay\u0131 \u00f6\u011freneceksiniz. \u00d6ncelikle, bu \u00fc\u00e7\u00fcn\u00fcn ne i\u015fe yarad\u0131\u011f\u0131na k\u0131saca bakal\u0131m.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/reactte-fetch-api-async-await-ve-useeffect-ile-rest-api-tuketimi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"React&#8217;te Fetch API, Async\/Await ve useEffect ile REST API T\u00fcketimi"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/16105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=16105"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/16105\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=16105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=16105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=16105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}