Forum Discussion

hayata's avatar
5 years ago
Solved

Set HTTP response code on custom endpoint

How is a standard HTTP status code set on a custom endpoint? By default, it returns 200, but I need to set 204 and 500.