api-platform / api-platform/create-client
Handle 401, 403 and 204
未關閉
- 主要語言
- 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 還沒有評估資料。