Click here to Skip to main content
15,897,291 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
//This is the First GET action that works excellent!
public string Get(string carrier, int flightNum, DateTime date, string acNum)


//This is the second GET action
public void Get(string isaData)
{
}



//and in the JS I send in in AJAX(for the second GET action) it doesn't work WHY???:

$(document).on("click", "#save-button", function () {
$.ajax({
url: WebApiUrl + 'Isa',
data: localStorage.getItem("data"),
type: 'GET',
contentType: 'text/plain',

});
});
Posted
Comments
RelicV 14-Sep-15 2:38am    
Do you need an answer for this??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900