mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
adding logging of headers and body
This commit is contained in:
parent
a1c0a8cdf0
commit
374dcddf84
1 changed files with 3 additions and 0 deletions
|
|
@ -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`,
|
||||
// {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue