Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想发送一个参数为 json 的请求。我试图在请求正文中设置这些,但这不起作用。有没有其他方法可以将参数作为 JSON 发送?
谢谢,
$.ajax({ type: 'GET', url: url, data: JSON.stringify(myJsonObject), success: successCallback, dataType: 'json' });