2013年4月16日 星期二

jQuery POST Request

$.post(url, data, callback, dataType) can post data to a server and retrieve results

image

post() can also be used to interact with an Ajax-enabled WCF service

image

 

Demo Example:

image

image

Output Result

image

Fiddler Result:

image

image

 

WCF Web Service

image

image

Output Result

image

Fiddler Result:

image

 

Additional Note:

A good tool to trace all network routes (request and response)

http://fiddler2.com/

image

image

沒有留言:

張貼留言