Spaces:
Sleeping
Sleeping
Download pages/api/hello.js from ActuallyCookie/anycoder-c22e6ba1: direct link, hf CLI and curl.
- Browser
- Download file 102 Bytes
-
https://huggingface.co/spaces/ActuallyCookie/anycoder-c22e6ba1/resolve/main/pages/api/hello.js
- Command line
-
hf download hf://spaces/ActuallyCookie/anycoder-c22e6ba1/pages/api/hello.js
-
curl -L -o hello.js https://huggingface.co/spaces/ActuallyCookie/anycoder-c22e6ba1/resolve/main/pages/api/hello.js
102 Bytes
| export default function handler(req, res) { | |
| res.status(200).json({ message: 'Hi from the API!' }); | |
| } |