Thursday, 19 September 2013

Convert YouTube API Call into AJAX

Convert YouTube API Call into AJAX

I am tryning to covert a YouTube API Library Call into ajax to add a video
to a playlist, it works with the JS Library like this:
part: 'snippet',
resource: {
snippet: {
playlistId: playlistId,
resourceId: details
}
}
Now i want to convert this PART / Snippet into something i can send with
JQuery/AJAX as data Parameter
Can someone plz help me covering this into a working AJAX Call ?
Whatever i tried triggers a "404 Bad Request" Error from the API…
thx in advance

No comments:

Post a Comment