You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro v4.8.4
Node v20.12.2
System macOS (arm64)
Package Manager npm (this should be pnpm)
Output server
Adapter @astrojs/node
Integrations @astrojs/tailwind
If this issue only occurs in one browser, which browser is a problem?
Not specific to a browser
Describe the Bug
Just trying out the new rewriting feature as this came just in time for a use case that I had. Question: is this supposed to work with a POST request?
Let's say you post an email field to /page-a, I want to rewrite to /page-b while keeping the FormData.
It currently does not work, as the rewrite results in a 404. Any ideas?
What's the expected result?
I'd expect /page-b to render and receive the email field in FormData
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Not specific to a browser
Describe the Bug
Just trying out the new rewriting feature as this came just in time for a use case that I had. Question: is this supposed to work with a POST request?
Let's say you post an
email
field to/page-a
, I want to rewrite to/page-b
while keeping the FormData.It currently does not work, as the rewrite results in a 404. Any ideas?
What's the expected result?
I'd expect
/page-b
to render and receive theemail
field in FormDataLink to Minimal Reproducible Example
https://stackblitz.com/edit/github-oyssmw?file=src%2Fpages%2Findex.astro
The text was updated successfully, but these errors were encountered: