Buckets:
silverwolf-x/project / test /e2e /app-dir /app-static /app /variable-revalidate /post-method-request /page.js
| export default async function Page() { | |
| const data = await fetch( | |
| new Request('https://next-data-api-endpoint.vercel.app/api/random', { | |
| method: 'POST', | |
| }) | |
| ).then((res) => res.text()) | |
| const data2 = await fetch( | |
| new URL('https://next-data-api-endpoint.vercel.app/api/random'), | |
| { | |
| method: 'POST', | |
| next: { | |
| revalidate: 0, | |
| }, | |
| } | |
| ).then((res) => res.text()) | |
| return ( | |
| <> | |
| <p id="page">/variable-revalidate/post-method</p> | |
| <p id="page-data">{data}</p> | |
| <p id="page-data2">{data2}</p> | |
| </> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 570 Bytes
- Xet hash:
- 90e51a678221649e2185c8f8cd7a87bdc5f829797ab49c2e870e1decfdb90a84
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.