adding logging of headers and body

This commit is contained in:
Khalim Conn-Kowlessar 2023-08-03 11:03:20 +01:00
parent a1c0a8cdf0
commit 374dcddf84

View file

@ -38,6 +38,9 @@ export async function POST(request: NextRequest) {
"Content-Type": "application/json",
};
console.log("headers: ", headers);
console.log("body: ", validatedBody);
// const response = await fetch(
// `${process.env.FASTAPI_API_URL}/v1/plan/trigger`,
// {