Download apps/backend-mock/api/status.ts from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 167 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/apps/backend-mock/api/status.ts
- Command line
-
hf download hf://spaces/binhugg3/admin/apps/backend-mock/api/status.ts
-
curl -L -o status.ts https://huggingface.co/spaces/binhugg3/admin/resolve/main/apps/backend-mock/api/status.ts
167 Bytes
| export default eventHandler((event) => { | |
| const { status } = getQuery(event); | |
| setResponseStatus(event, Number(status)); | |
| return useResponseError(`${status}`); | |
| }); | |