For Workes & Pages, what is the name of the domain?
NA
What is the issue or error you’re encountering
Internal API Response.json every time empty
What steps have you taken to resolve the issue?
Why this code not work?
import type { NextRequest } from ‘next/server’
export const runtime = ‘edge’
export async function GET(request: NextRequest) {
return Response.json({“a”: 1});
}
The response status is 200, but response = {}, emtpy json.
With simple string, works…