Skip to content

Conversation

dai-shi
Copy link
Member

@dai-shi dai-shi commented Oct 5, 2024

Previously, we used GET with a header, because the header can accept larger string.
But, for larger string, we should use POST anyway, so introducing a new convention URLSearchParams. This is still experimental and should be revisited before v1. (Basically, review Next.js's API and re-consider.)

Copy link

vercel bot commented Oct 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
waku ✅ Ready (Inspect) Visit Preview Oct 5, 2024 11:15am
Copy link

codesandbox-ci bot commented Oct 5, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@dai-shi dai-shi marked this pull request as ready for review October 5, 2024 12:40
@dai-shi dai-shi merged commit 711be51 into main Oct 5, 2024
24 checks passed
@dai-shi dai-shi deleted the avoid/waku-header branch October 5, 2024 13:40
This was referenced Oct 6, 2024
dai-shi added a commit that referenced this pull request Oct 10, 2024
When #947 was being done, the router request became from GET to POST.
I checked POST works for static files with `serve`. However, I didn't
check vercel deployment.

Just noticed there's a serious issue (405 Method Not Allowed) with the
website deployment, so I make it work back with GET.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant