# I need Backend help \[Solved\]

**URL:** <https://forum.freecodecamp.org/t/i-need-backend-help-solved/48807>\
**Category:** I Built This\
**Created:** [October 25, 2016, 9:17pm UTC](https://forum.freecodecamp.org/t/i-need-backend-help-solved/48807 "2016-10-25T21:17:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ginoskotheon](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ginoskotheon/32/14256_2.png) [@ginoskotheon](https://forum.freecodecamp.org/u/ginoskotheon)\
**Post date:** [October 25, 2016, 9:17pm UTC](https://forum.freecodecamp.org/t/i-need-backend-help-solved/48807/1 "2016-10-25T21:17:23Z")

</div>

I am stuck trying to figure out how to implement Yelp’s api with node. I’ve tried everything from using node-yelp to my own ajax. I can’t figure out what I’m missing. Here’s my current ajax code:

$.ajax({  
‘type’: message.method,  
‘url’ : message.action,  
‘data’ : parameterMap,  
‘dataType’ : ‘jsonp’,  
‘jsonpCallback’ : ‘cb’,  
‘cache’: true  
})  
.done(function(data, textStatus, jqXHR) {  
console.log(‘braaaaiinnns!’);  
console.log(‘success[’ + data + ‘]’);  
}  
)  
.fail(function(jqXHR, errorThrown) {  
console.log(‘error[’ + errorThrown + ‘], jqXHR[’ + JSON.stringify(jqXHR) + ‘]’);  
}  
);

I’d appreciate any feedback. Thanks.

---

<div class="post-metadata">

**Author:** ![PortableStick](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/portablestick/32/65591_2.png) [@PortableStick](https://forum.freecodecamp.org/u/PortableStick)\
**Post date:** [October 25, 2016, 9:57pm UTC](https://forum.freecodecamp.org/t/i-need-backend-help-solved/48807/2 "2016-10-25T21:57:59Z")

</div>

1. What’s the error or problem?
2. What’s the backend code doing?

---

<div class="post-metadata">

**Author:** ![ginoskotheon](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ginoskotheon/32/14256_2.png) [@ginoskotheon](https://forum.freecodecamp.org/u/ginoskotheon)\
**Post date:** [October 26, 2016, 12:57am UTC](https://forum.freecodecamp.org/t/i-need-backend-help-solved/48807/3 "2016-10-26T00:57:07Z")

</div>

Thanks for replying. Nothing happens. I have the ajax function inside of a click function. After the click, I can console.log everything up to the ajax function but nothing inside of it.

---

<div class="post-metadata">

**Author:** ![ginoskotheon](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ginoskotheon/32/14256_2.png) [@ginoskotheon](https://forum.freecodecamp.org/u/ginoskotheon)\
**Post date:** [October 26, 2016, 1:37am UTC](https://forum.freecodecamp.org/t/i-need-backend-help-solved/48807/4 "2016-10-26T01:37:39Z")

</div>

Never mind… I figured it out. It’s amazing how blind I can be after staring at code for a couple of hours. I was trying to require a file and I forgot a ‘.’

---

<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:04pm UTC](https://forum.freecodecamp.org/t/i-need-backend-help-solved/48807/5 "2021-06-01T18:04:26Z")

</div>

Closed on June 1, 2021, 6:04pm UTC


