Content-Type 跟body 的設定要一致,例如: 設定Content-Type: 'application/json',body 就要設定好物件的型態,若body 設定成字串,就會出錯。 2. credential 接收cookie.
確定! 回上一頁