Type | Data | Response |
---|---|---|
JSON | ||
Multipart form-data | ||
Form URL Encoded | ||
XML |
Example:
$.ajax({ url: "/Auth/Login", method: "POST", contentType: false, processData: false, headers: { Accept: "application/json" }, data: JSON.stringify({ username: "testuser", password: "12345" }) })