First: Get Parameters (Common):
The Get Pass method is a link? After writing the parameters and data with & stitching.
The second type: Post parameters (Common):
This method can get post at the same time, the link to add parameters back to the background by GET, post data, the background with post data received.
For example:
$.ajax (
{
URL: ("financialcenter.aspx?timestamp={0}"). Format (new Date (). GetTime ()),
Type: ' POST ',
DataType: ' json ',
Timeout: 10000,
Data: {Action: "Updateitemcraft", Callback: "true", Itemid:id, Updatevalue:newvalue},
Success: function (resultdata)
{
}
});
The third and second kind of similarity, but the third does not pass the variable name, the data is converted to JSON to pass:
Cases:
$.ajax ({
Type: ' Post ',
Url:url,
Data:JSON.stringify (SEARCHSTR),
DataType: ' JSON ',
Success:function (Resultjsondata) {
});
When the backend receives the value at this time, it cannot be received with the Get and post methods, but instead uses:
Request.inputstream to receive.
Fourth: It is the submit method for Get and post data transfer (in server-side controls, much more)
The fifth kind: The Variant Submit method uploads the data (this is actually the postback way to upload the data, WebForm development uses much)
. NET Frontend pass-through and back-end receive several ways