Replies: 1 comment 1 reply
-
Personally I |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have this function that will verify an access token. I cannot seem to find a way to return data from it.
All the examples shows that this should be possible, but only setting the status works. I also tried with
new Response
.If I set the status but don't return anything, obviously the route continue on it's path and send the reply from the requested url.
How can I return a custom object with the status code ?
Beta Was this translation helpful? Give feedback.
All reactions