Download src/app/api/route.ts from simikkk/test9: direct link, hf CLI and curl.
- Browser
- Download file 134 Bytes
-
https://huggingface.co/spaces/simikkk/test9/resolve/main/src/app/api/route.ts
- Command line
-
hf download hf://spaces/simikkk/test9/src/app/api/route.ts
-
curl -L -o route.ts https://huggingface.co/spaces/simikkk/test9/resolve/main/src/app/api/route.ts
134 Bytes
| import { NextResponse } from "next/server"; | |
| export async function GET() { | |
| return NextResponse.json({ message: "Hello, world!" }); | |
| } |