更新时间:2023-02-17 11:22:26
您没有发送 Content-Type 标头.在第一个屏幕截图中鼠标指针附近的下拉列表中选择 JSON (application/json):
Content-Type
JSON (application/json)
You're not sending the Content-Type header. Choose JSON (application/json) in the dropdown near the mouse pointer on your first screenshot:
.Net Core WebAPI,无法使用 POSTMAN 发布数据,错误 - 415 Unsupported MediaType