Search found 9 matches

Go to advanced search

by nate7260789
Wed Dec 24, 2014 2:56 pm
Forum: Issues
Topic: API call works from TEST but not when calling from Web Page
Replies: 3
Views: 298
 
Jump to post

API call works from TEST but not when calling from Web Page

Thanks but I did all of that. The parameters, headers are the same.I also have proxy set

by nate7260789
Tue Dec 23, 2014 11:21 pm
Forum: Issues
Topic: API call works from TEST but not when calling from Web Page
Replies: 3
Views: 298
 
Jump to post

API call works from TEST but not when calling from Web Page

I have an API that works fine when testing but when calling the code from the web page, it fails although I have a good access token. The test uses the exact same access token for testing and yet it still fails. What could be wrong? {"meta":{"code":400,"message":"B...
by nate7260789
Wed Dec 17, 2014 4:34 pm
Forum: Issues
Topic: API call via Javascript
Replies: 12
Views: 1288
 
Jump to post

API call via Javascript

never mind. This works. Thanks

by nate7260789
Wed Dec 17, 2014 4:16 pm
Forum: Issues
Topic: API call via Javascript
Replies: 12
Views: 1288
 
Jump to post

API call via Javascript

Hi, the parameter call does not work but when I set data:{song_id: 86091202, api_key: myapikeyyyyy} instead, I get a success. The problem is that the success returns null. The process uses a proxy to make the call. As you can see below, the proper parameters are being passed as expected. Any idea wh...
by nate7260789
Tue Dec 09, 2014 7:44 pm
Forum: Issues
Topic: API call via Javascript
Replies: 12
Views: 1288
 
Jump to post

API call via Javascript

Hi Yurii, I made the change as defined. I called the JavaScript function called getSong() from the mapping routine. So this javascript is called after success and mapped to a field called songname. But it still does not work. The code enters the function successfully but it does not seem to run the ...
by nate7260789
Thu Dec 04, 2014 11:48 pm
Forum: Issues
Topic: API call via Javascript
Replies: 12
Views: 1288
 
Jump to post

API call via Javascript

I did that as listed above. But it fails.

by nate7260789
Thu Dec 04, 2014 11:48 pm
Forum: Issues
Topic: API call via Javascript
Replies: 12
Views: 1288
 
Jump to post

API call via Javascript

This is what I did. see below: TTMusicSearchSongID.execute({ where: { "song_id": songid }, success: function(data) { alert("success!!!" + data.length); }, //complete: function(resp) { // alert(JSON.stringify(resp)); //}, error: function(jqXHR, textStatus, errorThrown) { alert(&qu...
by nate7260789
Thu Dec 04, 2014 9:42 pm
Forum: Issues
Topic: API call via Javascript
Replies: 12
Views: 1288
 
Jump to post

API call via Javascript

Can you provide an example? I tried calling the appery REST service also but it fails. TTMusicSearchSongID.execute({ where: { "song_id": songid }, success: function(data) { alert("success!!!" + data.length); }, //complete: function(resp) { // alert(JSON.stringify(resp)); //}, err...
by nate7260789
Thu Dec 04, 2014 8:52 pm
Forum: Issues
Topic: API call via Javascript
Replies: 12
Views: 1288
 
Jump to post

API call via Javascript

I have an API that I need to call from JavaScript. The error I am getting is No 'Access-Control-Allow-Origin' . I think that this may be because of the need for the proxy tunneling routine. So what I am trying to to do is pass a song id that is returned by one API and mapped to a page and then find ...

Go to advanced search