Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a response created from response()-> calls #9

Closed
romalytvynenko opened this issue Sep 19, 2022 · 0 comments · Fixed by #14
Closed

Add support for a response created from response()-> calls #9

romalytvynenko opened this issue Sep 19, 2022 · 0 comments · Fixed by #14
Labels
enhancement New feature or request

Comments

@romalytvynenko
Copy link
Member

It is common to create responses using response()->... call. More than that, these calls should be pretty easy to analyze and implement.

For example, call to response()->noContent() creates 204 empty response. Very common for DELETE endpoints. response()->json([/* content */], $status) is another example of the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant