Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error on FireBug #6

Closed
topet1425 opened this issue Sep 12, 2014 · 1 comment · Fixed by #110
Closed

Getting Error on FireBug #6

topet1425 opened this issue Sep 12, 2014 · 1 comment · Fixed by #110

Comments

@topet1425
Copy link

I'm getting this error when I debug my project using your API,

SyntaxError: missing ; before statement
{"stock":[{"name":"BPI","price":{"currency":"PHP","amount":97.9},"pe

and this is my code for request
$.ajax({
url: "http://phisix-api.appspot.com/stocks/" + symbolCode + ".json?callback=?",
dataType: 'JSONP',
type: 'GET',
success: function (response) {
alert("success!");
},
error: function(response) {
alert ("error: " + response.message);
}
});

edgedalmacio added a commit that referenced this issue Sep 13, 2014
@edgedalmacio
Copy link
Collaborator

Fixed: Added JSONP Support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants