Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to set json type jquery ajax

$.ajax({
    type: "POST",
    contentType: "application/json",
    url: 'http://localhost:16329/Hello',
    data: { name: 'norm' },
    dataType: "json"
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #json #type #jquery #ajax
ADD COMMENT
Topic
Name
6+6 =