我得到“406 不可接受”。我在某处读到他们提到“我们可以在 HTTP Header 中提供内容类型”。
method: 'POST',
url: url,
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
像这样,我们可以赋予 content-type 什么值?
我得到“406 不可接受”。我在某处读到他们提到“我们可以在 HTTP Header 中提供内容类型”。
method: 'POST',
url: url,
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
像这样,我们可以赋予 content-type 什么值?