Download next.js/test/integration/api-support/pages/api/[post]/comments.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 108 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/api-support/pages/api/%5Bpost%5D/comments.js
- Command line
-
hf download 'hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/api-support/pages/api/[post]/comments.js'
-
curl -L -o comments.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/api-support/pages/api/%5Bpost%5D/comments.js
108 Bytes
| export default (req, res) => { | |
| res.status(200).json([{ message: 'Prioritize a non-dynamic api page' }]) | |
| } | |