I need to POST URL exact like this to next page.
Below code will work? Not sure whether my method is correct.
var formattedFavouriteOffer = '?url1=/offers/singapore-rugby-7s&url2=/offers/limited-time-offer-save-up-to-40&url3=/offers/rejoice-this-easter&url4=/06-offers-detail';
$.ajax({
type: 'POST',
url: "http://localhost:9000/favorite.json" +formattedFavouriteOffer,
data: formattedFavouriteOffer,
dataType: "text",
success: function(resultData) {
alert("Save Complete");
}
});