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