# Help with Local Weather: Using JSON location data in weather API

**URL:** <https://forum.freecodecamp.org/t/help-with-local-weather-using-json-location-data-in-weather-api/26952>\
**Category:** I Built This\
**Created:** [August 10, 2016, 4:07pm UTC](https://forum.freecodecamp.org/t/help-with-local-weather-using-json-location-data-in-weather-api/26952 "2016-08-10T16:07:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NickWright](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/nickwright/32/11163_2.png) [@NickWright](https://forum.freecodecamp.org/u/NickWright)\
**Post date:** [August 10, 2016, 4:07pm UTC](https://forum.freecodecamp.org/t/help-with-local-weather-using-json-location-data-in-weather-api/26952/1 "2016-08-10T16:07:13Z")

</div>

I’m having problems making a request to the open weather api. Here is a link[weather app](http://codepen.io/nwright/full/jAQJkb/). I can’t get any kind of error or response from the open weather api.

---

<div class="post-metadata">

**Author:** ![xiaopow](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/xiaopow/32/22527_2.png) [@xiaopow](https://forum.freecodecamp.org/u/xiaopow)\
**Post date:** [August 10, 2016, 4:34pm UTC](https://forum.freecodecamp.org/t/help-with-local-weather-using-json-location-data-in-weather-api/26952/2 "2016-08-10T16:34:51Z")

</div>

@NickWright You can take a look here.  
[https://www.codeforx.com/questions/help-with-local-weather-using-json-location-data-in-weather-api](https://www.codeforx.com/questions/help-with-local-weather-using-json-location-data-in-weather-api)

---

<div class="post-metadata">

**Author:** ![NickWright](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/nickwright/32/11163_2.png) [@NickWright](https://forum.freecodecamp.org/u/NickWright)\
**Post date:** [August 10, 2016, 5:25pm UTC](https://forum.freecodecamp.org/t/help-with-local-weather-using-json-location-data-in-weather-api/26952/3 "2016-08-10T17:25:09Z")

</div>

Thanks I figured out it was because I didn’t include “http://” in my getJSON request. 🙂

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:09pm UTC](https://forum.freecodecamp.org/t/help-with-local-weather-using-json-location-data-in-weather-api/26952/4 "2021-06-01T18:09:53Z")

</div>


