例如,你可以使用JSON.stringify 方法将一个JavaScript数组转换为JSON字符串,然后将其作为请求体传递: fetch('https://example.com/api/data', { method: 'POST' ...
確定! 回上一頁