var playlist_id = $(this).val(); var content_id = $('.item_id').html(); var content_id = "51ce5736-42f9-4cb8-842c-90bc99146c84"; var token = "2b28ef0a4d7179185ba596361944739307e8d9427cd745948047c3a8e96b26f8"; var data = "{\"playlist_content\" :{\"content_id\" : \"ef0a30ef-3198-4ce6-8927-e390257776ed\"}}"
var data2 = { playlist_content:{ content_id : content_id } };
var url = "https://pmp.psft.co/api/v2/playlists/"+playlist_id+"/contents?access_token="+token+"&playlist_id="+playlist_id;
I may be wrong but I don't think htm5Mode has anything to do with why those #### are appearing. In your routing urls do you add # anywhere? What backend are you using? You can likely using some kind url formatting rules to remove the hash for certain URLS. In php you can use .htaccess and map this: example.com/#/home to example.com/home
Hello I am a newbie working with jQuery and Ajax. I am trying submit data to the server using Jquery POST method. And the data that I am passing is a string. Now I am unable to understand how do I pass the data and how do I retrieve the data. I have tried searching for articles for my problem, bu...