api-platform / api-platform/create-client

Handle 401, 403 and 204

未關閉
#221 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
376
分支
132
PR 合併指標
30 天內沒有已合併 PR

描述

In fetch.js

Handle 401, 403 and throw an Authorization error.

Handle 204 because methods like DELETE do not provide any JSON output (Unexpected end of JSON input thrown).

I'm using vue, I guess other generators can also benefit from this feature. If you wish I could provide a PR.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。