You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the wire type of parameter of data of jQuery.post()?
If I pass in an object like {"n":"bar"} , what I will get in the ajax http post body? a json like '{"n":"bar"}' or a url-encoding query like "n=bar" ?
If I pass in a string like "hello world", what I will get in the ajax http post body? Direct put in http post body?
What is the wire type of parameter of data of jQuery.post()?
If I pass in an object like {"n":"bar"} , what I will get in the ajax http post body? a json like '{"n":"bar"}' or a url-encoding query like "n=bar" ?
If I pass in a string like "hello world", what I will get in the ajax http post body? Direct put in http post body?
The document at https://api.jquery.com/jquery.post/ do not tell me anything about it.
notice
dataType
isThe type of data expected from the server.
, not the request data type.The text was updated successfully, but these errors were encountered: