Download next.js/test/integration/api-catch-all/pages/api/users/[...slug].js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 61 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/api-catch-all/pages/api/users/%5B...slug%5D.js
- Command line
-
hf download 'hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/api-catch-all/pages/api/users/[...slug].js'
-
curl -L -o '[...slug].js' https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/api-catch-all/pages/api/users/%5B...slug%5D.js
61 Bytes
| export default function (req, res) { | |
| res.json(req.query) | |
| } | |