From 78581a9bb7ff682adcca82144ff4c0af1290d488 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Wed, 30 May 2018 20:14:13 -0400 Subject: [PATCH] Update ReactBasics.md --- ReactBasics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactBasics.md b/ReactBasics.md index 306807b..43bedaf 100755 --- a/ReactBasics.md +++ b/ReactBasics.md @@ -808,7 +808,7 @@ React doesn't have any built-in functionality to handle AJAX. Either use jQuery ```JavaScript queryOMDB(event){ event.preventDefault(); - fetch('http://www.omdbapi.com/?t=' + this.refs.title.value).then(function(response){ + fetch('http://www.omdbapi.com/?apikey=53aa2cd6&t=' + this.refs.title.value).then(function(response){ response.json().then(function(data){ console.log(data); });