If I were to render on both the server and client sides and encapsulate a POST request, I would need to obtain the token from the cookie and submit it. Do I need to encapsulate two methods? Is there a better case to handle requests from both the client and server #83633
Unanswered
bbhxwl
asked this question in
App Router
Replies: 0 comments
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.
-
If I were to render on both the server and client sides and encapsulate a POST request, I would need to obtain the token from the cookie and submit it. Do I need to encapsulate two methods? Is there a better case to handle requests from both the client and server
Beta Was this translation helpful? Give feedback.
All reactions