3
AJAX请求中的内容类型和数据类型是什么?
POST请求中的内容类型和数据类型是什么?假设我有这个: $.ajax({ type : "POST", url : /v1/user, datatype : "application/json", contentType: "text/plain", success : function() { }, error : function(error) { }, 是contentType我们发送的吗?那么我们在上面的示例中发送的是JSON,而我们接收的是纯文本?我不太了解
178
jquery