{{ message }}
Repository navigation
Replies: 2 comments
|
If you're using a custom state processor in Laravel, simply return a Symfony\Component\HttpFoundation\Response or a Laravel Illuminate\Http\Response instance manually with the desired status code. If you return a raw Response, API Platform will not try to serialize again. Here is example code that might help you |
0 replies
0 replies
Answer selected by
falves97
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I actually found the status property, which does exactly what I wanted.